export type ThemeMode = "light" | "dark" | "auto"; export type ThemeValue = "light" | "dark"; /** * 初始化主题,应在应用启动时调用。 * 优先级:用户手动选择 > 系统偏好 */ export declare function initTheme(): void; /** * 设置主题模式。 * @param mode - 'light' | 'dark' | 'auto'(auto 跟随系统偏好) */ export declare function setTheme(mode: ThemeMode): void; /** * 获取当前实际主题值。 * @returns 'light' 或 'dark' */ export declare function getCurrentTheme(): ThemeValue; /** * 切换当前主题(light ↔ dark)。 */ export declare function toggleTheme(): void; //# sourceMappingURL=controller.d.ts.map