import { Mutation, MutationKey, MutationState, QueryClient } from '@tanstack/query-core';
export declare function updateMutationContext<TContext extends MutationState["context"]>(queryClient: QueryClient, mutationKey: MutationKey, variables: unknown, contextMutation: (context: TContext) => void): void;
export declare function removeMutation(queryClient: QueryClient, mutationKey: MutationKey, filter: (mutation: Mutation<unknown, Error, unknown, unknown>) => boolean): void;
export declare function removeMutations(queryClient: QueryClient, mutationKey: MutationKey): void;
export declare function removeMutationByState(queryClient: QueryClient, mutationKey: MutationKey, mutationState: MutationState<unknown, Error, unknown, unknown>): void;
//# sourceMappingURL=mutation-cache.d.ts.map