/**
 * Create mutation hook for AstMigration
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AstMigrationSelect, AstMigrationWithRelations, CreateAstMigrationInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AstMigrationSelect, AstMigrationWithRelations, CreateAstMigrationInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a AstMigration
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAstMigrationMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAstMigrationMutation<S extends AstMigrationSelect>(params: {
    selection: {
        fields: S & AstMigrationSelect;
    } & HookStrictSelect<NoInfer<S>, AstMigrationSelect>;
} & Omit<UseMutationOptions<{
    createAstMigration: {
        astMigration: InferSelectResult<AstMigrationWithRelations, S>;
    };
}, Error, CreateAstMigrationInput['astMigration']>, 'mutationFn'>): UseMutationResult<{
    createAstMigration: {
        astMigration: InferSelectResult<AstMigrationWithRelations, S>;
    };
}, Error, CreateAstMigrationInput['astMigration']>;
