export interface ModuleRuntimeFetchResponse { ok: boolean; status: number; redirected?: boolean; headers?: Pick; json(): Promise; } export type ModuleRuntimeFetchLike = (input: string, init?: RequestInit) => Promise; export interface ModuleRuntimeStats { memoryPages: number; memoryBytes: number; maxMemoryPages: number; maxMemoryBytes: number; uptimeMs: number; } export interface ModuleRuntimeMethod { methodId: string; displayName?: string; description?: string; } export interface ModuleRuntimeProtocol { protocolId: string; methodId?: string; inputPortId?: string; outputPortId?: string; description?: string; wireId?: string; transportKind?: string; role?: string; autoInstall: boolean; advertise: boolean; discoveryKey?: string; } export interface ModuleRuntimeTimer { timerId: string; methodId?: string; defaultIntervalMs: number; description?: string; } export interface ModuleRuntimeManifest { pluginId: string; name?: string; version?: string; pluginFamily?: string; methods: ModuleRuntimeMethod[]; capabilities: string[]; protocols: ModuleRuntimeProtocol[]; timers: ModuleRuntimeTimer[]; } export interface ModuleRuntimeOption { key: string; label: string; type: string; value?: string; description?: string; readOnly: boolean; } export interface ModuleRuntimeCatalog { requiredScope?: string; contentType?: string; cacheControl?: string; bundleSha256?: string; sizeBytes?: number; signatureHex?: string; signerPubKeyHex?: string; uploadedAt?: string; } export interface ModuleRuntimeEntry { id: string; version?: string; status: string; statusMessage?: string; description?: string; manifest?: ModuleRuntimeManifest; stats: ModuleRuntimeStats; options: ModuleRuntimeOption[]; catalog?: ModuleRuntimeCatalog; } export interface ModuleRuntimeSnapshot { generatedAt: string; count: number; modules: ModuleRuntimeEntry[]; } export declare function loadModuleRuntimeSnapshotFromServer(baseUrl: string, fetchImpl?: ModuleRuntimeFetchLike): Promise; export declare function emptyModuleRuntimeSnapshot(): ModuleRuntimeSnapshot; //# sourceMappingURL=modules.d.ts.map