/** * utils — pure string/Unicode helpers. No I/O, no dependencies. * Enough for ASCII, wide characters and emoji. */ export declare function graphemes(text: string): string[]; export declare function charWidth(grapheme: string): 0 | 1 | 2; export declare function stringWidth(text: string): number; export declare function wrapText(text: string, width: number): string[]; export declare function truncate(text: string, width: number, ellipsis?: string): string; export declare function sliceByWidth(text: string, start: number, end: number): string; export declare function stripAnsi(text: string): string; //# sourceMappingURL=index.d.ts.map