import { type MaybeRef } from '@vueuse/core'; import { type UseMutationOptions, type UseMutationReturnType } from '@tanstack/vue-query'; import { type MutationFunction } from '@tanstack/query-core'; import { type BackendEndpoint } from '@myparcel-pdk/common'; import { type ApiException } from '@myparcel/sdk'; import { type ActionInput, type BackendEndpointResponse } from '../../../types'; type MaybeRefDeep = MaybeRef; } : T>; type VueMutationObserverOptions = { [Property in keyof UseMutationOptions]: MaybeRefDeep[Property]>; }; type UsePdkMutation = = BackendEndpointResponse, TError extends ApiException = ApiException, TVariables extends ActionInput = ActionInput, TContext = unknown>(endpoint: E, mutationFn: MaybeRef>, options?: MaybeRef, 'mutationKey' | 'mutationFn'>>) => UseMutationReturnType; export declare const usePdkMutation: UsePdkMutation; export {};