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

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

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

const en_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} results`)
};

const ru_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} результатов`)
};

const id_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} hasil`)
};

const pt_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} resultados`)
};

const fr_chapters_result_count = /** @type {(inputs: Chapters_Result_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`${i?.n} résultats`)
};

/**
* | output |
* | --- |
* | "{n} results" |
*
* @param {Chapters_Result_CountInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const chapters_result_count = /** @type {((inputs: Chapters_Result_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Chapters_Result_CountInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_chapters_result_count(inputs)
	if (locale === "ru") return ru_chapters_result_count(inputs)
	if (locale === "id") return id_chapters_result_count(inputs)
	if (locale === "pt") return pt_chapters_result_count(inputs)
	return fr_chapters_result_count(inputs)
});