/** * Display-safe text sanitization (QUALITY visual correctness / V2-094). * * External content (tool output, model text, paste) can carry C0/C1 controls * and OSC/CSI sequences that corrupt a terminal or inject misleading UI. * This pure helper strips those bytes while preserving ordinary newlines, * tabs, and Unicode. Clipboard/export paths should run content through here * before writing terminal-facing strings. */ export declare function stripAnsiSequences(text: string): string; export declare function stripControlChars(text: string): string; /** Full display sanitize: ANSI first, then remaining control characters. */ export declare function sanitizeDisplayText(text: string): string;