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