/**
 * Update 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, FunctionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionSelect, FunctionWithRelations, FunctionPatch } from '../../orm/input-types';
/**
 * Mutation hook for updating a Function
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFunctionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', functionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFunctionMutation<S extends FunctionSelect>(params: {
    selection: {
        fields: S & FunctionSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionSelect>;
} & Omit<UseMutationOptions<{
    updateFunction: {
        function: InferSelectResult<FunctionWithRelations, S>;
    };
}, Error, {
    id: string;
    functionPatch: FunctionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateFunction: {
        function: InferSelectResult<FunctionWithRelations, S>;
    };
}, Error, {
    id: string;
    functionPatch: FunctionPatch;
}>;
