import { UITheme } from "./ui-theme.js"; import { ShallowRef } from "vue"; //#region src/theme/load-theme.d.ts declare const currentTheme: ShallowRef; /** * @description 加载主题, 如果你是 SSR 环境, * 请在 `onMounted` 中调用,否则你可以在 * 项目的入口环境(通常是 main.ts)或其他全局环境中调用。 * * 主题自带系列(`theme.series`),应用时会注入全局 token 与 * 同系列的组件级 token,并把 `html[data-theme]` 置为对应系列。 */ declare function loadTheme(theme?: UITheme): void; //#endregion export { currentTheme, loadTheme }; //# sourceMappingURL=load-theme.d.ts.map