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