@zsnout/ithkuil
Version:
A set of tools which can generate and parse romanized Ithkuil text and which can generate Ithkuil script from text and JSON data.
35 lines (34 loc) • 3.34 kB
TypeScript
/**
* The standard vowel table, indexed to be optimal for affix degrees. Index 0
* means the 10th row of the vowel table, while index 1 means the 1st row. In
* addition, the array-of-arrays starts at index 1 (index 0 is `undefined`). See
* the types for more information.
*
* @example
* STANDARD_VOWEL_TABLE[2][0] // "ea"
* STANDARD_VOWEL_TABLE[0][1] // throws an error
* STANDARD_VOWEL_TABLE[1][9] // "u"
*/
export declare const STANDARD_VOWEL_TABLE: readonly [undefined, readonly ["ae", "a", "ä", "e", "i", "ëi", "ö", "o", "ü", "u"], readonly ["ea", "ai", "au", "ei", "eu", "ëu", "ou", "oi", "iu", "ui"], readonly ["üo", import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, "eë", import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative], readonly ["üö", "ao", "aö", "eo", "eö", "oë", "öe", "oe", "öa", "oa"]];
/**
* The standard vowel table, indexed as would be traditionally expected for
* computers. Index 0 means the 1st row of the vowel table, while index 9 means
* the 10th row.
*
* @example
* ZERO_INDEXED_STANDARD_VOWEL_TABLE[2][0] // IA_UÄ
* ZERO_INDEXED_STANDARD_VOWEL_TABLE[0][1] // "ä"
* ZERO_INDEXED_STANDARD_VOWEL_TABLE[1][9] // "ea"
*/
export declare const ZERO_INDEXED_STANDARD_VOWEL_TABLE: readonly [readonly ["a", "ä", "e", "i", "ëi", "ö", "o", "ü", "u", "ae"], readonly ["ai", "au", "ei", "eu", "ëu", "ou", "oi", "iu", "ui", "ea"], readonly [import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, "eë", import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, "üo"], readonly ["ao", "aö", "eo", "eö", "oë", "öe", "oe", "öa", "oa", "üö"]];
/**
* Same as {@link ZERO_INDEXED_STANDARD_VOWEL_TABLE}, but with index 0
* corresponding to the 10th row of the vowel table, while index 1 means the 1st
* row.
*
* @example
* ONE_INDEXED_STANDARD_VOWEL_TABLE[2][0] // "üo"
* ONE_INDEXED_STANDARD_VOWEL_TABLE[0][1] // "a"
* ONE_INDEXED_STANDARD_VOWEL_TABLE[1][9] // "ui"
*/
export declare const ONE_INDEXED_STANDARD_VOWEL_TABLE: readonly [readonly ["ae", "a", "ä", "e", "i", "ëi", "ö", "o", "ü", "u"], readonly ["ea", "ai", "au", "ei", "eu", "ëu", "ou", "oi", "iu", "ui"], readonly ["üo", import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, "eë", import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative, import("./with-wy-alternative.js").WithWYAlternative], readonly ["üö", "ao", "aö", "eo", "eö", "oë", "öe", "oe", "öa", "oa"]];