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