import { ActiveTheme, ThemeConfig, ThemeTokens } from './theme-model.js'; /** Restore the stored theme synchronously — or the fallback — and apply it. */ export declare function initTheme(cfg: ThemeConfig): ActiveTheme; /** * Switch the base theme; editor overrides stay in place. * `persist: false` applies the theme for a preview only — the mirror keeps * the last persisted theme, so a reload returns to it (settings page: the * tile click previews, "apply" persists, "cancel" previews the old one). */ export declare function setTheme(id: string, options?: { persist?: boolean; }): void; /** Replace the editor overrides (inline custom properties on ``). */ export declare function setThemeOverrides(tokens: ThemeTokens): void; export declare function clearThemeOverrides(): void; export declare function getActiveTheme(): ActiveTheme | undefined; //# sourceMappingURL=theme-engine.d.ts.map