export type Theme = "light" | "dark" | "auto" | "neon"; /** Resolves "auto" to the OS preference; "neon" and explicit "light"/"dark" pass through. */ export declare function resolveTheme(theme: Theme): "light" | "dark" | "neon"; /** Writes the theme choice to localStorage. */ export declare function persistTheme(theme: Theme): void; /** Reads the persisted theme from localStorage. Returns null if none stored. */ export declare function loadPersistedTheme(): Theme | null; /** * Applies the theme to an element by setting `data-theme` to the resolved value. * Pass the root element of the UI (e.g. `.op-root`). */ export declare function applyTheme(el: HTMLElement, theme: Theme): void; //# sourceMappingURL=theme.d.ts.map