the-forest/client/node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.d.cts
2024-09-17 20:35:18 -04:00

7 lines
469 B
TypeScript

import { UseSuspenseQueryOptions, UseSuspenseQueryResult } from './types.cjs';
import { DefaultError, QueryKey, QueryClient } from '@tanstack/query-core';
declare function useSuspenseQuery<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UseSuspenseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError>;
export { useSuspenseQuery };