17 lines
652 B
Plaintext
Executable File
17 lines
652 B
Plaintext
Executable File
import { LocaleData } from './core';
|
|
import { NumberFormatDigitInternalSlots } from './number';
|
|
export declare type LDMLPluralRule = 'zero' | 'one' | 'two' | 'few' | 'many' | 'other';
|
|
export interface PluralRulesData {
|
|
categories: {
|
|
cardinal: string[];
|
|
ordinal: string[];
|
|
};
|
|
fn: (val: number | string, ord?: boolean) => LDMLPluralRule;
|
|
}
|
|
export declare type PluralRulesLocaleData = LocaleData<PluralRulesData>;
|
|
export interface PluralRulesInternal extends NumberFormatDigitInternalSlots {
|
|
initializedPluralRules: boolean;
|
|
locale: string;
|
|
type: 'cardinal' | 'ordinal';
|
|
}
|
|
//# sourceMappingURL=plural-rules.d.ts.map |