/** * 模块5: 增强仪表盘(多 Agent 隔离版) * * registerHttpRoute handler 签名: * (req: IncomingMessage, res: ServerResponse) => Promise * * 这是 Node.js 原生 HTTP handler,不是 Web Fetch API。 */ import type { OpenClawPluginApi } from "openclaw/plugin-sdk"; import type Database from "better-sqlite3"; import { type DashboardConfig, type NotificationQueue } from "../types.js"; export declare function registerDashboard(api: OpenClawPluginApi, _config?: DashboardConfig, notifyQueue?: NotificationQueue, sharedDb?: Database.Database): void;