import { ThemeEnum } from '../context'; import './dark'; import './light'; /** * 设置主题 * @param {ThemeEnum} theme 主题类型 * @param {} customVariables 需要自定义的主题变量对象集合 * @param {string} elementId 当前节点id */ export declare const loadTheme: (theme?: ThemeEnum, customVariables?: { dark: {}; light: {}; }, elementId?: string) => void; /** * 获取当前主题 * @returns {ThemeEnum} 当前主题 */ export declare const getTheme: (elementId?: string) => ThemeEnum | undefined;