import type { PluginRegistry } from './registry'; import type { PluginManifest, PluginEntry } from '../sdk/types'; type PluginStatus = 'active' | 'inactive' | 'errored'; export declare class PluginHost { private registry; private plugins; constructor(registry: PluginRegistry); /** * Validate, then activate. Rejection is recorded as an `errored` plugin rather than * thrown: the caller is loading a list, and one bad plugin must not stop the rest. */ loadPlugin(manifest: PluginManifest, entry: PluginEntry, config: Record): Promise; unloadPlugin(slug: string): Promise; getStatus(slug: string): PluginStatus | undefined; getError(slug: string): string | undefined; listPlugins(): Array<{ slug: string; status: PluginStatus; error?: string; }>; private reject; } export {}; //# sourceMappingURL=host.d.ts.map