/** * ANSI escape code parser for terminal color/style rendering. * Extracted from AnsiText.svelte for testability. */ export interface AnsiSpan { style: string; content: string; } export declare const ANSI_16: Record; export declare const ANSI_16_BRIGHT: Record; export declare function color256(n: number): string; export declare function parseAnsi(rawText: string): AnsiSpan[];