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