import { ToRefs, UnwrapRef } from "vue-demi"; import type { QueryObserver, QueryKey, QueryObserverResult } from "react-query/core"; import type { QueryFunction } from "react-query/types/core"; import type { UseQueryOptions } from "./useQuery"; import type { UseInfiniteQueryOptions } from "./useInfiniteQuery"; export declare type UseQueryReturnType> = ToRefs> & { suspense: () => Promise; }; declare type UseQueryOptionsGeneric = UseQueryOptions | UseInfiniteQueryOptions; export declare function useBaseQuery(Observer: typeof QueryObserver, arg1: TQueryKey | UseQueryOptionsGeneric, arg2?: QueryFunction> | UseQueryOptionsGeneric, arg3?: UseQueryOptionsGeneric): UseQueryReturnType; export {};