import { Theme } from "./type.js"; //#region src/theme/ui-theme.d.ts type RecursivePartial = { [P in keyof T]?: T[P] extends object ? RecursivePartial : T[P]; }; declare class UITheme { static themeID: string; private static adoptedSheet; readonly theme: Theme; private readonly reactiveEnabled; constructor(theme: Theme, options?: { reactive?: boolean; }); static setTheme(mode: 'light' | 'dark' | 'auto'): void; private renderBase; private renderBorder; private renderTypeColor; private renderShadow; private renderBGColorAlpha; /** 语义色 / 边框 / 阴影 / 文本色的 alpha token(替代 color-mix + transparent) */ private renderAlphaTokens; /** 组件级两色混合 token(batch-edit / kbd) */ private renderComponentMixTokens; private renderBGFilter; /** 主题变量声明列表,均为 `--u-` 前缀的 CSS 自定义属性 */ themeToDeclarationList(theme: Theme): string[]; private static declarationBlock; private static removeExistingStyleTag; private static applyGlobalCSS; /** 内置 light/dark:支持 data-theme 与 prefers-color-scheme */ static injectBuiltInThemes(light: UITheme, dark: UITheme): void; render(): void; new(customTheme?: RecursivePartial): UITheme; } //#endregion export { UITheme }; //# sourceMappingURL=ui-theme.d.ts.map