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