import { ClientMethods } from "./types/client.js";
import { ResourceElement } from "@assistant-ui/tap";

//#region src/tapClientLookup.d.ts
type InferClientState<TMethods> = TMethods extends {
  getState: () => infer S;
} ? S : unknown;
declare function tapClientLookup<TMethods extends ClientMethods>(getElements: () => readonly ResourceElement<TMethods>[], getElementsDeps: readonly unknown[]): {
  state: InferClientState<TMethods>[];
  get: (lookup: {
    index: number;
  } | {
    key: string;
  }) => TMethods;
};
//#endregion
export { tapClientLookup };
//# sourceMappingURL=tapClientLookup.d.ts.map