export type OpenClawDiagnosticStatus = "ok" | "failed" | "missing" | "invalid" | "unreachable"; export interface OpenClawDiagnosticCheck { name: "config" | "plugin_entry" | "plugin_installed" | "plugin_enabled" | "plugin_runtime" | "skill" | "gateway"; ok: boolean; status: OpenClawDiagnosticStatus; detail: string; remediation?: string[]; } export interface OpenClawChainDiagnostics { ready: boolean; package_ready: boolean; gateway_ready: boolean; checks: OpenClawDiagnosticCheck[]; } export interface OpenClawChainDiagnosticOptions { openclawBin: string; timeoutMs?: number; env?: NodeJS.ProcessEnv; cwd?: string; } /** * Verify the complete OpenClaw-side AKK chain without returning plugin config * values. */ export declare function runOpenClawChainDiagnostics(options: OpenClawChainDiagnosticOptions): OpenClawChainDiagnostics;