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