/** * The **Theme Preview Service** — applies a theme's variables to the grid live, * with no rebuild and no flicker, by setting inline `--pg-*` custom properties on * the grid container (which override the scoped mode stylesheet). Delegates to * {@link ThemeManager.applyTokenOverrides} / {@link ThemeManager.clearTokenOverrides}, * which also mirror onto `document.documentElement` so portaled menus re-theme too. * * @packageDocumentation */ import type { ThemeManager } from '../../theme/theme-manager'; /** Applies/reverts live theme variable overrides on the grid container. */ export declare class ThemePreviewService { private readonly themeManager; private readonly container; constructor(themeManager: ThemeManager, container: HTMLElement); /** Set the given `--pg-*` variables inline on the container (instant preview). */ apply(variables: Readonly>): void; /** Remove all live overrides, reverting to the active mode/variant. */ clear(): void; } //# sourceMappingURL=theme-preview-service.d.ts.map