import type * as monaco from 'monaco-editor'; import { type Mode } from '../theme/index.js'; export declare function expandShorthandHex(color: string): string; /** The arm of a `light-dark()` value for a mode, or the value itself. A token the host leaves to * theme.css reads as `light-dark(light, dark)`, which CSS resolves by the color-scheme of where it * is used; Monaco takes one color per theme, so each theme takes its own mode's arm. */ export declare function forMode(value: string, mode: Mode): string; /** * Defines the light and dark Monaco themes from the document's tokens. Call it again after the * host applies other tokens; it returns whether anything changed. */ export declare function defineEditorThemes(monacoEditor: typeof monaco.editor): boolean; /** Redefines the editor themes when the host applies other tokens or another scheme to the * document, and sets `current()` again, so an open editor follows a theme being edited. */ export declare function followThemeTokens(monacoEditor: typeof monaco.editor, current: () => string): () => void; export declare function getThemeName(isDark: boolean): string;