/**
 * Update 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, BillingModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { BillingModuleSelect, BillingModuleWithRelations, BillingModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a BillingModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateBillingModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', billingModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateBillingModuleMutation<S extends BillingModuleSelect>(params: {
    selection: {
        fields: S & BillingModuleSelect;
    } & HookStrictSelect<NoInfer<S>, BillingModuleSelect>;
} & Omit<UseMutationOptions<{
    updateBillingModule: {
        billingModule: InferSelectResult<BillingModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    billingModulePatch: BillingModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateBillingModule: {
        billingModule: InferSelectResult<BillingModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    billingModulePatch: BillingModulePatch;
}>;
