import { T as ToolKey } from '../tool-DA175Utm.js'; /** * The plural categories defined by Unicode CLDR / `Intl.PluralRules`. Handy for * typing your own per-language category tables, such as ordinal suffixes. */ type PluralRule = "zero" | "one" | "two" | "few" | "many" | "other"; type PluralVariants = Partial> & { other: string; }; /** * Selects wording for a count using `Intl.PluralRules` for the active locale. * The value is a `number`, and `other` is the required fallback category. * * @param name The template parameter name; its value must be a `number`. * @param variants The wording per plural category (`other` is required). * * @example ```ts * msg`${plural("count", { one: "1 file", other: "many files" })}`; * // { count: 1 } renders "1 file" * ``` */ declare function plural(name: Name, variants: PluralVariants): ToolKey; export { type PluralRule, plural };