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