/**
 * App-scoped PGP-encrypted internal secrets store. No namespace_module dependency and no K8s synchronization. Used by identity_providers_module for OAuth2 client_secret storage.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InternalSecretsModuleSelect, InternalSecretsModuleWithRelations, InternalSecretsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InternalSecretsModuleSelect, InternalSecretsModuleWithRelations, InternalSecretsModulePatch, } from '../../orm/input-types';
/**
 * App-scoped PGP-encrypted internal secrets store. No namespace_module dependency and no K8s synchronization. Used by identity_providers_module for OAuth2 client_secret storage.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateInternalSecretsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', internalSecretsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateInternalSecretsModuleMutation<S extends InternalSecretsModuleSelect>(params: {
    selection: {
        fields: S & InternalSecretsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, InternalSecretsModuleSelect>;
} & Omit<UseMutationOptions<{
    updateInternalSecretsModule: {
        internalSecretsModule: InferSelectResult<InternalSecretsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    internalSecretsModulePatch: InternalSecretsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateInternalSecretsModule: {
        internalSecretsModule: InferSelectResult<InternalSecretsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    internalSecretsModulePatch: InternalSecretsModulePatch;
}>;
