/** * TextDisplay - handles text output to the main window */ import type { DisplayElements } from '../types'; export declare class TextDisplay { private textContent; private mainWindow; constructor(elements: DisplayElements); /** * Display text in the main window. * * `\n\n+` separates paragraphs (each gets a normal `
`); single * `\n` within a paragraph creates continuation lines, each rendered * as a `
` so the inter-line * margin collapses to match the legacy `pre-line` visual. This is * the platform-browser counterpart of `engine`'s `createBlocks`. */ displayText(text: string): void; /** * Display command echo (user input) */ displayCommand(command: string): void; /** * Clear the screen */ clearScreen(): void; /** * Scroll main window to bottom */ scrollToBottom(): void; /** * Get the current transcript HTML (for save) */ getHTML(): string; /** * Set the transcript HTML (for restore) */ setHTML(html: string): void; } //# sourceMappingURL=TextDisplay.d.ts.map