import { DefaultError, QueryKey, QueryClient } from '@tanstack/query-core'; import { DefinedUseQueryResult, UseQueryResult, UseQueryOptions } from './types.cjs'; import { DefinedInitialDataOptions, UndefinedInitialDataOptions } from './queryOptions.cjs'; declare function useQuery(options: DefinedInitialDataOptions, queryClient?: QueryClient): DefinedUseQueryResult; declare function useQuery(options: UndefinedInitialDataOptions, queryClient?: QueryClient): UseQueryResult; declare function useQuery(options: UseQueryOptions, queryClient?: QueryClient): UseQueryResult; export { useQuery };