/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';

/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */

/** @typedef {{ n: NonNullable<unknown> }} Reader_WordsInputs */

const en_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} words`)
};

const ru_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} слов`)
};

const id_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} kata`)
};

const pt_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} palavras`)
};

const fr_reader_words = /** @type {(inputs: Reader_WordsInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} mots`)
};

/**
* | output |
* | --- |
* | "{n} words" |
*
* @param {Reader_WordsInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const reader_words = /** @type {((inputs: Reader_WordsInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Reader_WordsInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_reader_words(inputs)
	if (locale === "ru") return ru_reader_words(inputs)
	if (locale === "id") return id_reader_words(inputs)
	if (locale === "pt") return pt_reader_words(inputs)
	return fr_reader_words(inputs)
});