/** * 主题管理器 * 管理 CSS 变量注入,支持运行时切换主题 */ import type { ThemeConfig } from './default-theme'; /** 主题管理器 - 单例 */ export declare class ThemeManager { private static instance; private currentTheme; private constructor(); /** 获取单例实例 */ static getInstance(theme?: Partial): ThemeManager; /** 重置单例(测试用) */ static reset(): void; /** 获取当前主题 */ getTheme(): ThemeConfig; /** 更新主题(部分覆盖) */ setTheme(overrides: Partial): void; /** 生成 CSS 变量字符串(用于 Shadow DOM 注入) */ getCSSVariables(): string; /** 获取指定 CSS 变量值 */ getVariable(key: keyof ThemeConfig): string; } //# sourceMappingURL=ThemeManager.d.ts.map