/** * Shared ANSI text-handling helpers for TUI components. */ /** Truncate a string with ANSI codes to a visible width. * Handles both SGR sequences (\x1b[...m) and OSC 8 hyperlinks (\x1b]8;...;\x07). */ export declare function truncateAnsi(str: string, maxWidth: number): string; //# sourceMappingURL=ansi.d.ts.map