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

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

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

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

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

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

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

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

/**
* | output |
* | --- |
* | "{n} results" |
*
* @param {Catalogue_Results_CountInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const catalogue_results_count = /** @type {((inputs: Catalogue_Results_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Catalogue_Results_CountInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_catalogue_results_count(inputs)
	if (locale === "ru") return ru_catalogue_results_count(inputs)
	if (locale === "id") return id_catalogue_results_count(inputs)
	if (locale === "pt") return pt_catalogue_results_count(inputs)
	return fr_catalogue_results_count(inputs)
});