declare global { namespace mw { /** * Namespace for CLDR-related utility methods. * Provided by the `mediawiki.cdlr` ResourceLoader module. * * @see https://doc.wikimedia.org/mediawiki-core/master/js/mw.cldr.html */ namespace cldr { /** * Get the plural form index for the number. * * In case none of the rules passed, we return `pluralRules.length` - * that means it is the "other" form. * * @param number * @param pluralRules * @returns plural form index * @see https://doc.wikimedia.org/mediawiki-core/master/js/mw.cldr.html#.getPluralForm */ function getPluralForm(number: number, pluralRules: string[]): number; } } } export {};