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