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