Project

General

Profile

1
/**
2
 * @experimental
3
 */
4
export declare abstract class NgLocalization {
5
    abstract getPluralCategory(value: any): string;
6
}
7
/**
8
 * Returns the plural case based on the locale
9
 *
10
 * @experimental
11
 */
12
export declare class NgLocaleLocalization extends NgLocalization {
13
    protected locale: string;
14
    constructor(locale: string);
15
    getPluralCategory(value: any): string;
16
}
17
/** @experimental */
18
export declare enum Plural {
19
    Zero = 0,
20
    One = 1,
21
    Two = 2,
22
    Few = 3,
23
    Many = 4,
24
    Other = 5,
25
}
26
/**
27
 * Returns the plural case based on the locale
28
 *
29
 * @experimental
30
 */
31
export declare function getPluralCase(locale: string, nLike: number | string): Plural;
(5-5/7)