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