7 lines
419 B
TypeScript
7 lines
419 B
TypeScript
|
import { UseMutationOptions, UseMutationResult } from './types.cjs';
|
||
|
import { DefaultError, QueryClient } from '@tanstack/query-core';
|
||
|
|
||
|
declare function useMutation<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown>(options: UseMutationOptions<TData, TError, TVariables, TContext>, queryClient?: QueryClient): UseMutationResult<TData, TError, TVariables, TContext>;
|
||
|
|
||
|
export { useMutation };
|