-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
19 lines (13 loc) · 1.02 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
declare type getPluralFormForCardinal = (count: number) => number
export function getPluralFormForCardinalByLocale (locale: string, count: number): number
export function getPluralFormNameForCardinalByLocale (locale: string, count: number): string
export function getPluralFormForCardinalByIndex (index: number, count: number): number
export function getPluralFormNameForCardinalByIndex (index: number, count: number): string
export function getPluralRuleForCardinalsByLocale (locale: string): getPluralFormForCardinal
export function getPluralRuleForNamedFormsForCardinalsByLocale (locale: string): getPluralFormForCardinal
export function getPluralRuleForCardinalsByIndex (index: number): getPluralFormForCardinal
export function getPluralRuleForNamedFormsForCardinalsByIndex (index: number): getPluralFormForCardinal
export function getSupportedLocales(): string[]
export function getPluralFormCountForLocale(locale: string): number
export function getPluralFormNamesForLocale(locale: string): string[]
export as namespace fastPluralRules