import { HoistModel, Theme } from '@xh/hoist/core'; /** * @internal */ export declare class ThemeModel extends HoistModel { xhImpl: boolean; darkTheme: boolean; constructor(); toggleTheme(): void; setDarkTheme(value: boolean): void; setTheme(value: Theme, persist?: boolean): void; init(): void; /** * Sync the `` tag to the active theme's app-bar color, creating it if * needed. This tints browser chrome to match the app - e.g. Android Chrome's status bar and task * switcher, and desktop installed PWAs. Hoist's theme is independent of the OS color scheme, so * the tag's content must be updated on each theme change rather than relying on the static * `media="(prefers-color-scheme)"` form. Note Safari 26+ ignores `theme-color`, instead deriving * its chrome color from the page background (see the companion `color-scheme` handling above). */ private syncThemeColorMeta; }