/**
 * WASM Plugin Registration and Management
 *
 * Manages the global plugin registry and handles plugin registration.
 * Maintains the plugin map and provides lookup functions.
 */
import { WasmPlugin } from './types';
export declare const wasmPlugins: Map<string, WasmPlugin>;
export declare const restartTimers: Map<string, NodeJS.Timeout>;
/**
 * Initialize lifecycle function references (called from index.ts to resolve circular dependencies)
 */
export declare function initializeLifecycleFunctions(startWasmPlugin: (app: any, pluginId: string) => Promise<void>, updateWasmPluginConfig: (app: any, pluginId: string, configuration: any, configPath: string) => Promise<void>, unloadWasmPlugin: (app: any, pluginId: string) => Promise<void>, stopWasmPlugin: (pluginId: string) => Promise<void>): void;
/**
 * Helper to update plugin status and sync state property
 */
export declare function setPluginStatus(plugin: WasmPlugin, status: WasmPlugin['status']): void;
/**
 * Register a WASM plugin from package metadata
 */
export declare function registerWasmPlugin(app: any, packageName: string, metadata: any, location: string, configPath: string): Promise<WasmPlugin>;
/**
 * Get all WASM plugins
 */
export declare function getAllWasmPlugins(): WasmPlugin[];
/**
 * Get a WASM plugin by ID
 */
export declare function getWasmPlugin(pluginId: string): WasmPlugin | undefined;
//# sourceMappingURL=plugin-registry.d.ts.map