import { type InstantCoreDatabase, type InstantSchemaDef, type InstaQLOptions, InstaQLResponse, ValidQuery } from '@instantdb/core'; export type InfiniteQueryResult, Q extends ValidQuery, UseDates extends boolean> = { error: { message: string; }; data: undefined; isLoading: false; canLoadNextPage: boolean; loadNextPage: () => void; } | { error: undefined; data: undefined; isLoading: true; canLoadNextPage: boolean; loadNextPage: () => void; } | { error: undefined; data: InstaQLResponse; isLoading: false; canLoadNextPage: boolean; loadNextPage: () => void; }; export declare function useInfiniteQuerySubscription, Q extends ValidQuery, UseDates extends boolean>({ core, query, opts, }: { core: InstantCoreDatabase; query: Q | null; opts?: InstaQLOptions; }): InfiniteQueryResult; //# sourceMappingURL=useInfiniteQuerySubscription.d.ts.map