import type { Client, Status } from "@ponder/client"; import { type DefaultError, type QueryKey, type UseQueryOptions, type UseQueryResult } from "@tanstack/react-query"; import type { ResolvedSchema } from "./index.js"; export declare function usePonderQuery(params: { queryFn: (db: Client["db"]) => Promise; live?: boolean; } & Omit, "queryFn" | "queryKey">): UseQueryResult; export declare function usePonderClient(): Client; export declare function usePonderQueryOptions(queryFn: (db: Client["db"]) => T): { queryKey: QueryKey; queryFn: () => T; }; export declare function usePonderStatus(params?: { live?: boolean; } & Omit, "queryFn" | "queryKey" | "select">): UseQueryResult; //# sourceMappingURL=hook.d.ts.map