the-forest/client/node_modules/@tanstack/react-query/build/legacy/useSuspenseInfiniteQuery.d.cts

7 lines
583 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
import { DefaultError, InfiniteData, QueryKey, QueryClient } from '@tanstack/query-core';
import { UseSuspenseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult } from './types.cjs';
declare function useSuspenseInfiniteQuery<TQueryFnData, TError = DefaultError, TData = InfiniteData<TQueryFnData>, TQueryKey extends QueryKey = QueryKey, TPageParam = unknown>(options: UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey, TPageParam>, queryClient?: QueryClient): UseSuspenseInfiniteQueryResult<TData, TError>;
export { useSuspenseInfiniteQuery };