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