/** * Apply a theme by injecting CSS into the document head at the beginning * This ensures user styles can override theme styles * @param themeCSS - The CSS string containing :root variables * @param id - Optional ID for the style element (defaults to 'text-interface-theme') */ export declare function applyTheme(themeCSS: string, id?: string): void; export declare class TextInterface { private listener; outputAnimationLength: number; outputDelay: number; shouldStealFocus: boolean; private outputQueue; private div; private inputEl; private outputEl; private placeholderEl; private promptEl; private inputWrap; private outputting; private scrollOptions; private promptString; constructor(element?: HTMLElement, title?: string, placeholder?: string, prompt?: string); setPlaceholder(text: string): void; setPrompt(text: string): void; setTitle(text: string): void; hideTitle(): void; showTitle(): void; clear(): void; setScrollOptions(options: ScrollIntoViewOptions): void; readChoice(choices: string[], prompt?: string, error?: string): Promise; readYesOrNo(errorMessage?: string): Promise; readNumber(errorMessage?: string): Promise; readInteger(errorMessage?: string): Promise; readIntegerInRange(min: number, max: number, errorMessage?: string): Promise; readNumberInRange(min: number, max: number, errorMessage?: string): Promise; readText(): Promise; prompt(prompt: string): Promise; promptYesOrNo(prompt: string): Promise; promptNumber(prompt: string, errorMessage: string): Promise; promptInteger(prompt: string, errorMessage: string): Promise; promptNumberInRange(prompt: string, min: number, max: number, errorMessage: string): Promise; promptIntegerInRange(prompt: string, min: number, max: number, errorMessage: string): Promise; showElement(element: HTMLElement): Promise; showHTML(arbitraryHTML: string): Promise; showImage(src: string, alt?: string): Promise; output(text: string, echo?: boolean): Promise; private doNextOutput; private setupInputListener; } export declare const themes: { lightMode: string; darkMode: string; greenTerminal: string; orangeTerminal: string; futuristic: string; typewriter: string; vsCodeDark: string; dracula: string; solarizedDark: string; monokai: string; nord: string; solarizedLight: string; githubLight: string; paperLight: string; }; export { }