import type { UseMutationOptions, UseMutationReturn } from './types.ts'; /** * Mutation hook. Mutation is changing (create/update/delete) something in data source. * This is a minimalistic analogue of `useMutation` from `@tanstack/react-query`. * @param options Mutation options. * @returns Mutation. */ export declare function useMutation
({ key: keyProp, mutation: mutationProp, onSuccess, onError, }: UseMutationOptions
): UseMutationReturn
;