/**
 * Compute `extensions` config changes for enabling/disabling a bundled extension from the gateway UI.
 * Activation is manifest-driven; `extensions.enabled` / `extensions.disabled` are merged in {@link mergeActivationContext}.
 */
import type { Config as SchemaConfig } from '../config/schema.js';
import type { ExtensionLoader } from './loader.js';
export declare function isExtensionActivationEligible(loader: ExtensionLoader, config: SchemaConfig, extensionId: string): boolean;
export declare function computeBundledExtensionExtensionsPatch(loader: ExtensionLoader, config: SchemaConfig, extensionId: string, wanted: boolean): {
    ok: true;
    extensions: Record<string, unknown>;
} | {
    ok: false;
    error: string;
};
