import { DefaultError, QueryKey, QueryClient } from '@tanstack/query-core'; import { DefinedUseQueryResult, UseQueryResult, UseQueryOptions } from './types.js'; import { DefinedInitialDataOptions, UndefinedInitialDataOptions } from './queryOptions.js'; 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 };