/** * Streaming Text Component * * For displaying streaming output like AI chat responses */ import { Writable } from 'stream'; import { StreamConfig } from './types'; /** * Streaming text display for AI-style output */ export declare class StreamingText { private prefix; private showCursor; private state; private output; private isRunning; private cursorTimer; private cursorVisible; constructor(config?: StreamConfig, output?: Writable); /** * Start the stream display */ start(): this; /** * Append text to the stream */ append(text: string): this; /** * Append a complete line */ appendLine(line: string): this; /** * Clear all content */ clear(): this; /** * Mark stream as complete */ done(): this; /** * Get the current content */ getContent(): string; /** * Render the current state */ private render; } /** * Create a streaming text display */ export declare function createStream(options?: StreamConfig): StreamingText;