import type { OpenClawPluginApi } from "openclaw/plugin-sdk"; import type { ConfigDoctorConfig, NotificationQueue } from "../types.js"; interface CheckResult { ok: boolean; level: "info" | "warn" | "error"; category: string; message: string; fixCommand?: string; } /** * 同步读 openclaw.json 并检查 — 调用方负责 try-catch 隔离启动失败 */ export declare function checkOpenClawConfig(openclawDir: string, options?: ConfigDoctorConfig): CheckResult[]; export declare function registerConfigDoctor(api: OpenClawPluginApi, config: ConfigDoctorConfig | undefined, notifyQueue: NotificationQueue): void; export {};