import { QueryClient, UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
import { AxiosError } from 'axios';
export declare const queryClient: QueryClient;
export declare type ExtractFnReturnType<FnType extends (...args: any) => any> = Awaited<Promise<ReturnType<FnType>>>;
export declare type QueryConfig<QueryFnType extends (...args: any) => any> = Omit<UseQueryOptions<ExtractFnReturnType<QueryFnType>>, 'queryKey' | 'queryFn' | 'initialData'>;
export declare type MutationConfig<MutationFnType extends (...args: any) => any> = UseMutationOptions<ExtractFnReturnType<MutationFnType>, AxiosError, Parameters<MutationFnType>[0]>;
//# sourceMappingURL=react-query.d.ts.map