import { type DefaultError, type MutateFunction, type QueryKey, type UseInfiniteQueryOptions, type UseInfiniteQueryResult, type UseMutationOptions, type UseMutationResult, type UseQueryOptions, type UseQueryResult, useMutation } from '@tanstack/react-query'; import type { Compute, ExactPartial, Omit, UnionStrictOmit } from '@wagmi/core/internal'; export { useMutation }; export type UseMutationParameters = Compute, context>, 'mutationFn' | 'mutationKey' | 'throwOnError'>>; export type UseMutationReturnType = Compute, 'mutate' | 'mutateAsync'> & { mutate: mutate; mutateAsync: mutateAsync; }>; export declare function useQuery(parameters: UseQueryParameters & { queryKey: QueryKey; }): UseQueryReturnType; export type UseQueryParameters = Compute, 'initialData'>> & { initialData?: UseQueryOptions['initialData'] | undefined; }>; export type UseQueryReturnType = Compute & { queryKey: QueryKey; }>; export declare function useInfiniteQuery(parameters: UseInfiniteQueryParameters & { queryKey: QueryKey; }): UseInfiniteQueryReturnType; export type UseInfiniteQueryParameters = Compute, 'initialData'> & { initialData?: UseInfiniteQueryOptions['initialData'] | undefined; }>; export type UseInfiniteQueryReturnType = UseInfiniteQueryResult & { queryKey: QueryKey; }; //# sourceMappingURL=query.d.ts.map