import type { MossVendorPlugin } from '@rdk-moss/core'; import type { MossPlatformExtension } from '@rdk-moss/core'; import type { KnowledgeRegistry } from '../knowledge/registry.js'; export interface VendorPluginCallbacks { register(plugin: MossVendorPlugin): void; unregister(id: string): void; } export declare class PlatformExtensionRegistry { private vendorCallbacks; private knowledgeRegistry; private lastApplied; private cachedExtensions; setVendorPluginCallbacks(callbacks: VendorPluginCallbacks): void; setKnowledgeRegistry(registry: KnowledgeRegistry): void; apply(ext: MossPlatformExtension): void; applyForce(ext: MossPlatformExtension): void; reset(): void; listAppliedState(): ReadonlyMap; setExtensionsSnapshot(exts: readonly MossPlatformExtension[]): void; getExtensions(): readonly MossPlatformExtension[]; syncAtStartup(factories: Array<() => MossPlatformExtension>): void; copyCompatibilityStateFrom(source: PlatformExtensionRegistry): void; } export declare function getDefaultExtensionsRegistry(): PlatformExtensionRegistry; export declare function createAgentExtensionRegistryFromDefaults(): PlatformExtensionRegistry; export declare function resetExtensionsWireCountForTests(): void; export declare function setVendorPluginCallbacks(callbacks: VendorPluginCallbacks): void; export declare function setKnowledgeRegistryForExtensions(registry: KnowledgeRegistry): void; export declare function applyPlatformExtension(ext: MossPlatformExtension): void; export declare function applyPlatformExtensionForce(ext: MossPlatformExtension): void; export declare function resetPlatformExtensionRegistryForTests(): void; export declare function listAppliedPlatformExtensionState(): ReadonlyMap; export declare function setRegisteredPlatformExtensionsSnapshot(exts: readonly MossPlatformExtension[]): void; export declare function getRegisteredPlatformExtensions(): readonly MossPlatformExtension[]; export declare function syncPlatformExtensionsAtStartup(factories: Array<() => MossPlatformExtension>): void; //# sourceMappingURL=registry.d.ts.map