/** * German numbers in words, for heading templates (`{1:words}`, * `{1:ordinal}`, `{1:Ordinal-neuter}`) and the `{numberWords}` / * `{numberOrdinalWords}` design placeholders: „Kapitel einundzwanzig“, * „Das erste Kapitel“, „Erstes Kapitel“, „Erster Teil“. * * Cardinals are written as one word, as the Duden spells them below a * million (zweitausendvierundzwanzig), *eins* where the number ends in it * (hunderteins) and *ein* before *und* or *tausend* (einundzwanzig, * hunderteintausend). Ordinals take the weak ending *-e*, the form after * the article that serves every gender („der erste Teil“, „das erste * Kapitel“), unless a gender asks for the strong form a heading without * an article needs: *-er* masculine („Erster Teil“), *-e* feminine * („Erste Lektion“), *-es* neuter („Erstes Kapitel“). Swiss German * (`de-CH`, `de-LI`) writes *ss* for *ß*: dreissig. * * The caller keeps the numbers in range (up to 999 999). Number words are * not nouns, so they are lower case unless the template asks for a * capital. */ export type GermanGender = 'masculine' | 'feminine' | 'neuter'; export declare function germanCardinal(n: number, locale?: string): string; /** *-t-* up to nineteen (zweite, neunzehnte, hundertzweite, tausenderste), * *-st-* from twenty and after a round hundred or thousand (zwanzigste, * einundzwanzigste, hundertste, tausendste), then the ending of `gender` * (none: the weak *-e*). */ export declare function germanOrdinal(n: number, gender?: GermanGender, locale?: string): string; //# sourceMappingURL=germanNumberWords.d.ts.map