/**
 * Create mutation hook for Trigger
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { TriggerSelect, TriggerWithRelations, CreateTriggerInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { TriggerSelect, TriggerWithRelations, CreateTriggerInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a Trigger
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateTriggerMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateTriggerMutation<S extends TriggerSelect>(params: {
    selection: {
        fields: S & TriggerSelect;
    } & HookStrictSelect<NoInfer<S>, TriggerSelect>;
} & Omit<UseMutationOptions<{
    createTrigger: {
        trigger: InferSelectResult<TriggerWithRelations, S>;
    };
}, Error, CreateTriggerInput['trigger']>, 'mutationFn'>): UseMutationResult<{
    createTrigger: {
        trigger: InferSelectResult<TriggerWithRelations, S>;
    };
}, Error, CreateTriggerInput['trigger']>;
