export declare function graphemes(text: string): string[]; interface Token { readonly kind: "escape" | "text"; readonly value: string; } export declare function tokenize(text: string): Token[]; export declare function hasOpenStyle(text: string): boolean; export declare function sealStyle(text: string): string; export declare function clipToWidth(text: string, max: number, suffix?: string): string; export declare function padToWidth(text: string, width: number): string; export declare function middleClipPlain(text: string, max: number, ellipsis?: string): string; export declare function padStartToWidth(text: string, width: number): string; export declare function alignEnds(left: string, right: string, width: number, ellipsis: string): string; export declare function plainText(text: string): string; export declare function trimTrailingSpaces(text: string): string; export declare function joinSeparated(parts: readonly (string | undefined)[], separator: string): string; export {};