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