import { ReqBase } from './types'; declare type ArrayDestructure = [TData | undefined, boolean, Error | undefined, (variables?: object) => Promise]; interface ObjectDestructure extends ReqBase { mutate: (variables?: object) => Promise; } declare type UseMutation = ArrayDestructure & ObjectDestructure; export declare const useMutation: (urlOrMutation: string | TemplateStringsArray, mutationArg?: string | undefined) => UseMutation; export {};