/** * Japanese numerals and kana counters, as the predefined styles of CSS * Counter Styles 3 define them: the counted kanji numerals * (`japanese-informal`, 百一, 六千一), the daiji of legal and financial * text (`japanese-formal`, 壱百壱), the gojūon kana series (`hiragana` あいう…, `katakana` アイウ…) and the iroha * series (`hiragana-iroha` いろは…, `katakana-iroha` イロハ…). * * The counted style is not the Chinese longhand (chineseNumerals.ts): * Japanese drops the 一 before 十・百・千 (十一, 百, 千) and writes no 零 for * a gap (101 百一, 6001 六千一, where Chinese has 一百零一, 六千零一). The * positional style (二〇二六) is `cjk-decimal`, shared with Chinese. */ /** * `n` (a positive integer) in Japanese counted numerals. CSS Counter Styles 3 * defines `japanese-informal` and `japanese-formal` up to 9 999; past it, * as ja-typography §9 (c) asks, the number goes on in four-digit groups * with the units 万 億 兆 (formal 萬 億 兆), each group written as a number * of its own and empty groups left out: 一万 (10 000), 一万一 (10 001), * 十一万 (110 000), 一億一万 (100 010 000); formal 壱萬, 壱億壱萬. A * group keeps its 一 before a unit (一万, never 万) but not before 十百千 * (千万 for 10 000 000, the per-group reading). Past 10¹⁶ − 1 the number * prints in digits. */ export declare function japaneseNumeral(n: number, kind: 'informal' | 'formal'): string; /** The zero of each counted style: 〇 (U+3007) informal, 零 formal. */ export declare function japaneseZero(kind: 'informal' | 'formal'): string; /** The 48 kana of the gojūon order as CSS `hiragana` lists them (the * modern 46 plus the obsolete ゐ ゑ, which the CSS series keeps): the five * vowels, the k s t n h m rows, や ゆ よ, the r row, then わ ゐ ゑ を ん. */ export declare const HIRAGANA: readonly string[]; /** The same 48 in katakana (`katakana`): ア … ワ ヰ ヱ ヲ ン. */ export declare const KATAKANA: readonly string[]; /** The 47 kana of the iroha poem, each once (`hiragana-iroha`): no ん. */ export declare const HIRAGANA_IROHA: readonly string[]; /** The iroha in katakana (`katakana-iroha`): イ ロ ハ … セ ス. */ export declare const KATAKANA_IROHA: readonly string[]; /** * The `n`th marker of a kana series, by the CSS `alphabetic` system (the * bijective rule of `lower-alpha`): past the last kana the series goes on * in two (hiragana: ん is 48, ああ 49, あい 50; iroha: す is 47, いい 48), * then three. Zero and below print nothing: the system has no zero. */ export declare function kanaSeries(n: number, symbols: readonly string[]): string; //# sourceMappingURL=japaneseNumerals.d.ts.map