/**
 * Update mutation hook for TriggerFunction
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { TriggerFunctionSelect, TriggerFunctionWithRelations, TriggerFunctionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { TriggerFunctionSelect, TriggerFunctionWithRelations, TriggerFunctionPatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a TriggerFunction
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateTriggerFunctionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', triggerFunctionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateTriggerFunctionMutation<S extends TriggerFunctionSelect>(params: {
    selection: {
        fields: S & TriggerFunctionSelect;
    } & HookStrictSelect<NoInfer<S>, TriggerFunctionSelect>;
} & Omit<UseMutationOptions<{
    updateTriggerFunction: {
        triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S>;
    };
}, Error, {
    id: string;
    triggerFunctionPatch: TriggerFunctionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateTriggerFunction: {
        triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S>;
    };
}, Error, {
    id: string;
    triggerFunctionPatch: TriggerFunctionPatch;
}>;
