/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraConfigModuleSelect, InfraConfigModuleWithRelations, InfraConfigModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraConfigModuleSelect, InfraConfigModuleWithRelations, InfraConfigModulePatch, } from '../../orm/input-types';
/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateInfraConfigModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', infraConfigModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateInfraConfigModuleMutation<S extends InfraConfigModuleSelect>(params: {
    selection: {
        fields: S & InfraConfigModuleSelect;
    } & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
} & Omit<UseMutationOptions<{
    updateInfraConfigModule: {
        infraConfigModule: InferSelectResult<InfraConfigModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    infraConfigModulePatch: InfraConfigModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateInfraConfigModule: {
        infraConfigModule: InferSelectResult<InfraConfigModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    infraConfigModulePatch: InfraConfigModulePatch;
}>;
