/**
 * Delete mutation hook for Function
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { FunctionSelect, FunctionWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionSelect, FunctionWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a Function with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteFunctionMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteFunctionMutation<S extends FunctionSelect>(params: {
    selection: {
        fields: S & FunctionSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionSelect>;
} & Omit<UseMutationOptions<{
    deleteFunction: {
        function: InferSelectResult<FunctionWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteFunction: {
        function: InferSelectResult<FunctionWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
