export declare function visualWidth(s: string): number; export declare function stripAnsi(s: string): string; export declare function wrapText(content: string, width: number): string[]; export type Style = { fgColor?: string; bgColor?: string; bold?: boolean; italic?: boolean; dim?: boolean; underline?: boolean; }; export declare function colorToRgb(c: string): [number, number, number] | null; export declare const RESET: string; export declare function sgr(style: Style): string; export declare function styledWrapper(style: Style): (s: string) => string;