import type { AnyFormat, Format, FormatsInput } from './types.js'; import { type MatchFn, type CasesFn, cases } from './match.js'; export type PluralForm = Intl.LDMLPluralRule; export type PluralKey = PluralForm | `${number}`; export { cases as forms }; /** * Creates a plural formatter. * @param param - Parameter name used to select plural form and replace `{param}` placeholders. * @param forms - Plural form formatters keyed by LDML plural rule or exact numeric value. * @returns Formatter that resolves plural forms and returns a parameterized message function. */ export declare function plural>>(param: K, forms?: CasesFn): Format | string, MatchFn>; /** * Creates a plural formatter with `Intl.PluralRules` options. * @param param - Parameter name used to select plural form and replace `{param}` placeholders. * @param options - `Intl.PluralRules` options. * @param forms - Plural form formatters keyed by LDML plural rule or exact numeric value. * @returns Formatter that resolves plural forms and returns a parameterized message function. */ export declare function plural>>(param: K, options: Intl.PluralRulesOptions, forms?: CasesFn): Format | string, MatchFn>; //# sourceMappingURL=plural.d.ts.map