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