import { ThemeMode, VerbenThemeConfig } from './theme.types'; import * as i0 from "@angular/core"; /** * Runtime theming: writes `--vbn-*` tokens onto the document root and toggles * light/dark mode. CSS custom properties cascade to every component, so a single * write here re-themes the whole library at runtime. * * Provided via `VerbenUiModule.forRoot(config)`, which applies the initial * config on bootstrap. Can also be injected directly for dynamic changes. */ export declare class ThemeService { private document; private readonly root; constructor(document: Document, initial: VerbenThemeConfig | null); /** Apply a (partial) theme config. Only provided values are written. */ applyTheme(config: VerbenThemeConfig): void; /** Set a single token. Accepts names with or without the leading `--`. */ setToken(name: string, value: string): void; /** Switch between light and dark color modes. */ setMode(mode: ThemeMode): void; /** The currently active color mode. */ getMode(): ThemeMode; /** Toggle between light and dark, returning the new mode. */ toggleMode(): ThemeMode; private resolvePath; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }