UNPKG

@formatjs/cli-lib

Version:
23 lines (22 loc) 1.24 kB
import { MessageFormatElement } from '@formatjs/icu-messageformat-parser'; export declare function generateXXLS(msg: string | MessageFormatElement[]): MessageFormatElement[]; export declare function generateXXAC(msg: string | MessageFormatElement[]): MessageFormatElement[]; export declare function generateXXHA(msg: string | MessageFormatElement[]): MessageFormatElement[]; /** * accented - Ȧȧƈƈḗḗƞŧḗḗḓ Ḗḗƞɠŀīīşħ * -------------------------------- * * This locale replaces all Latin characters with their accented equivalents, and duplicates some * vowels to create roughly 30% longer strings. Strings are wrapped in markers (square brackets), * which help with detecting truncation. */ export declare function generateENXA(msg: string | MessageFormatElement[]): MessageFormatElement[]; /** * bidi - ɥsıʅƃuƎ ıpıԐ * ------------------- * * This strategy replaces all Latin characters with their 180 degree rotated versions and enforces * right to left text flow using Unicode UAX#9 Explicit Directional Embeddings. In this mode, the UI * directionality will also be set to right-to-left. */ export declare function generateENXB(msg: string | MessageFormatElement[]): MessageFormatElement[];