/**
 * Update mutation hook for LimitsModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { LimitsModuleSelect, LimitsModuleWithRelations, LimitsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { LimitsModuleSelect, LimitsModuleWithRelations, LimitsModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a LimitsModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateLimitsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', limitsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateLimitsModuleMutation<S extends LimitsModuleSelect>(params: {
    selection: {
        fields: S & LimitsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, LimitsModuleSelect>;
} & Omit<UseMutationOptions<{
    updateLimitsModule: {
        limitsModule: InferSelectResult<LimitsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    limitsModulePatch: LimitsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateLimitsModule: {
        limitsModule: InferSelectResult<LimitsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    limitsModulePatch: LimitsModulePatch;
}>;
