/** * Themes — Dashboard ANSI 颜色主题常量集中管理。 * 使用 ANSI 256 色索引,零依赖渲染。 */ /** 设置 256 色前景色 */ export declare function fg(index: number): string; /** 设置 256 色背景色 */ export declare function bg(index: number): string; /** 加粗 */ export declare function bold(): string; /** 暗淡 */ export declare function dim(): string; /** 重置所有属性 */ export declare function reset(): string; /** 便利函数:给文本上色并自动 reset */ export declare function colorize(text: string, colorIndex: number): string; /** 日志级别颜色映射 */ export declare const LEVEL_COLORS: Record; /** 日志级别前缀文本 */ export declare const LEVEL_PREFIX: Record; /** 模块颜色映射 */ export declare const MODULE_COLORS: Record; /** 状态指示符 */ export declare const STATUS: { readonly connected: "●"; readonly disconnected: "○"; readonly paused: "❚❚"; }; /** sparkline 标签颜色 */ export declare const SPARKLINE_COLORS: { readonly calls: 82; readonly errors: 196; readonly latency: 51; }; /** 面板边框颜色 */ export declare const BORDER_COLOR = 245; /** 快捷键栏颜色 */ export declare const KEYBIND_COLOR = 245; /** 运行模式颜色 */ export declare const MODE_COLORS: Record;