/**
 * Create 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, CreateTriggerFunctionInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { TriggerFunctionSelect, TriggerFunctionWithRelations, CreateTriggerFunctionInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a TriggerFunction
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateTriggerFunctionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateTriggerFunctionMutation<S extends TriggerFunctionSelect>(params: {
    selection: {
        fields: S & TriggerFunctionSelect;
    } & HookStrictSelect<NoInfer<S>, TriggerFunctionSelect>;
} & Omit<UseMutationOptions<{
    createTriggerFunction: {
        triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S>;
    };
}, Error, CreateTriggerFunctionInput['triggerFunction']>, 'mutationFn'>): UseMutationResult<{
    createTriggerFunction: {
        triggerFunction: InferSelectResult<TriggerFunctionWithRelations, S>;
    };
}, Error, CreateTriggerFunctionInput['triggerFunction']>;
