1 | import { LDMLPluralRule, PluralRulesLocaleData, PluralRulesData, NumberFormatDigitInternalSlots } from '@formatjs/ecma402-abstract';
|
2 | export interface PluralRulesInternal extends NumberFormatDigitInternalSlots {
|
3 | initializedPluralRules: boolean;
|
4 | locale: string;
|
5 | type: 'cardinal' | 'ordinal';
|
6 | }
|
7 | export declare class PluralRules implements Intl.PluralRules {
|
8 | constructor(locales?: string | string[], options?: Intl.PluralRulesOptions);
|
9 | resolvedOptions(): any;
|
10 | select(val: number): LDMLPluralRule;
|
11 | toString(): string;
|
12 | static supportedLocalesOf(locales?: string | string[], options?: Pick<Intl.PluralRulesOptions, 'localeMatcher'>): string[];
|
13 | static __addLocaleData(...data: PluralRulesLocaleData[]): void;
|
14 | static localeData: Record<string, PluralRulesData>;
|
15 | static availableLocales: Set<string>;
|
16 | static __defaultLocale: string;
|
17 | static getDefaultLocale(): string;
|
18 | static relevantExtensionKeys: never[];
|
19 | static polyfilled: boolean;
|
20 | }
|