/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { FunctionDefinitionSelect, FunctionDefinitionWithRelations, FunctionDefinitionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionDefinitionSelect, FunctionDefinitionWithRelations, FunctionDefinitionPatch, } from '../../orm/input-types';
/**
 * Function definitions — registered cloud functions with routing, queue, and retry configuration
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateFunctionDefinitionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', functionDefinitionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateFunctionDefinitionMutation<S extends FunctionDefinitionSelect>(params: {
    selection: {
        fields: S & FunctionDefinitionSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionDefinitionSelect>;
} & Omit<UseMutationOptions<{
    updateFunctionDefinition: {
        functionDefinition: InferSelectResult<FunctionDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    functionDefinitionPatch: FunctionDefinitionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateFunctionDefinition: {
        functionDefinition: InferSelectResult<FunctionDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    functionDefinitionPatch: FunctionDefinitionPatch;
}>;
