/**
 * Namespace-backed PGP-encrypted key-value secrets module. Requires namespace_module and emits namespace:sync_secrets job triggers for K8s Secret synchronization.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraSecretsModuleSelect, InfraSecretsModuleWithRelations, InfraSecretsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraSecretsModuleSelect, InfraSecretsModuleWithRelations, InfraSecretsModulePatch, } from '../../orm/input-types';
/**
 * Namespace-backed PGP-encrypted key-value secrets module. Requires namespace_module and emits namespace:sync_secrets job triggers for K8s Secret synchronization.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateInfraSecretsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', infraSecretsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateInfraSecretsModuleMutation<S extends InfraSecretsModuleSelect>(params: {
    selection: {
        fields: S & InfraSecretsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, InfraSecretsModuleSelect>;
} & Omit<UseMutationOptions<{
    updateInfraSecretsModule: {
        infraSecretsModule: InferSelectResult<InfraSecretsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    infraSecretsModulePatch: InfraSecretsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateInfraSecretsModule: {
        infraSecretsModule: InferSelectResult<InfraSecretsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    infraSecretsModulePatch: InfraSecretsModulePatch;
}>;
