import { ReadonlySignal, Signal } from "@ncpa0cpl/vanilla-jsx/signals"; import { MiniCodeContext } from "../../context"; import { MiniCodeOptions } from "../../mini-code"; import { Theme, ThemeInput, type HighlightStyle } from "./themes"; import { CmEditor } from "../../utils/cm-ext"; import { File } from "../../files"; export declare class ThemesContext { private readonly minicode; private opts; themeName: Signal; theme: ReadonlySignal; available: Theme[]; private syntaxTheme; constructor(minicode: MiniCodeContext, opts: MiniCodeOptions); registerPlugins(cm: CmEditor, file: File): void; updatePlugins(cm: CmEditor, file: File): void; private resolveTheme; private addThemeIfNotExist; set(theme: ThemeInput): void; setSyntax(theme: HighlightStyle | undefined): void; private getSyntaxExtension; getSyntaxStyle(): HighlightStyle | undefined; } //# sourceMappingURL=theme.d.ts.map