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