/** * Visible width of a string, ignoring ANSI escape codes. */ export declare function visibleWidth(text: string): number; /** * Wrap a single paragraph string into lines respecting visible width. * Breaks only on spaces. Words longer than width overflow. */ export declare function wrapText(text: string, width: number, wrap: boolean): string[]; export declare function wrapWithPrefix(text: string, width: number, wrap: boolean, prefix?: string): string[];