/** * Returns the terminal display width of a single character. * East Asian Wide/Fullwidth characters occupy 2 cells; most others occupy 1. */ export declare function charWidth(ch: string): number; /** Calculate the visual terminal width of a string (ignoring ANSI escapes). */ export declare function stringWidth(str: string): number;