/** * Chinese numerals, written and read: the CSS Counter Styles 3 longhand * (`simp-chinese-informal` 一百二十, `trad-chinese-formal` 壹佰貳拾), the * digit-by-digit `cjk-decimal` (二〇二六), the heavenly stems and earthly * branches, circled and fullwidth digits — and the reverse, for part numbers * an author typed (`卷三`, `第十二`, `一二〇`). */ /** * `n` (a positive integer) in Chinese numerals, as CSS Counter Styles 3 * writes the Chinese longhand, extended past 9 999 with the group units * 万/萬, 亿/億: each digit followed by its marker (十 百 千, formal 拾 佰 仟), * the marker dropped after a zero, a run of zeros written 零 once, zeros at * the end dropped; in the informal style 10–19 open with 十, not 一十 * (十二, but 一百一十). 101 一百零一, 1010 一千零一十, 10010 一万零一十. * Past 10¹⁶ − 1 the number prints in digits. */ export declare function chineseNumeral(n: number, kind: 'informal' | 'formal', traditional: boolean): string; /** Digit by digit in Chinese numerals, with 〇 for zero: 2026 → 二〇二六 * (GB/T 15835—2011 §5.2.5, as years and serial numbers are written). */ export declare function cjkDecimal(n: number): string; /** Fullwidth digits: 123 → 123. */ export declare function fullwidthDecimal(n: number): string; /** Circled digits ① … ㊿ (U+2460–2473, U+3251–325F, U+32B1–32BF), ⓪ for * zero; past 50 the number prints in digits. */ export declare function circledDecimal(n: number): string; /** The ten heavenly stems, 甲 to 癸. */ export declare const CJK_HEAVENLY_STEMS: readonly string[]; /** The twelve earthly branches, 子 to 亥. */ export declare const CJK_EARTHLY_BRANCHES: readonly string[]; /** The `n`th symbol of a fixed series (1-based); past its end the number * prints in digits. */ export declare function fixedSymbol(n: number, symbols: readonly string[]): string; /** * The value of a number written in Chinese numerals: the longhand, informal * or formal, in either script (三, 十二, 一百零一, 一万零一十, 壹佰贰拾), * the Japanese counted forms (百一, 千十, 一万一, 壱萬弐阡), or digit by * digit (一二〇, 二〇二六). `undefined` for anything else. */ export declare function parseChineseNumeral(text: string): number | undefined; //# sourceMappingURL=chineseNumerals.d.ts.map