import { type DefaultError, type MutationObserverResult, type QueryKey, type UseInfiniteQueryOptions, type UseInfiniteQueryReturnType as UIQRT, type UseMutationOptions, type UseQueryOptions, type UseQueryReturnType as UQRT } from '@tanstack/vue-query'; import { type Evaluate, type ExactPartial, type Omit } from '@wagmi/core/internal'; import { type ToRefs } from 'vue-demi'; import type { DeepUnwrapRef, DistributiveOmit, MaybeRefDeep } from '../types.js'; export type UseMutationParameters = Evaluate, context>>, 'mutationFn' | 'mutationKey' | 'throwOnError'>>>; type MutationResult = DistributiveOmit, 'mutate' | 'reset'>; export type UseMutationReturnType> = Evaluate> & { reset: MutationObserverResult['reset']; }>; export type UseQueryParameters = MaybeRefDeep>, 'initialData'>> & { initialData?: DeepUnwrapRef>['initialData'] | undefined; }>>; export type UseQueryReturnType = Evaluate & { queryKey: MaybeRefDeep; }>; export declare function useQuery(parameters: UseQueryParameters): UseQueryReturnType; export type UseInfiniteQueryParameters = Evaluate, 'initialData'> & { initialData?: UseInfiniteQueryOptions['initialData'] | undefined; }>; export type UseInfiniteQueryReturnType = UIQRT & { queryKey: MaybeRefDeep; }; export declare function useInfiniteQuery(parameters: UseInfiniteQueryParameters & { queryKey: QueryKey; }): UseInfiniteQueryReturnType; export declare function structuralSharing(oldData: data | undefined, newData: data): data; export {}; //# sourceMappingURL=query.d.ts.map