import Mutation from "../../domain/models/mutation";
import MutationOptions from "../../domain/models/mutation-options";
export default function useMutate<T = void>(mutation: Mutation, fn: (params: T) => any, options?: MutationOptions): {
    execute<Z = any>(payload: T): Promise<Z>;
    reset: () => any;
    loading: boolean;
    loaded: boolean;
    data: any;
    error: any;
};
