/** Split text into user-perceived characters, with code-point fallback. */ export declare function segmentTextIntoGraphemes(text: string): string[]; /** Preserve regular spaces inside individually measured glyph cells. */ export declare function getVisibleSegmentText(segment: string): string;