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

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

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

const en_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Library (${i?.n})`)
};

const ru_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Библиотека (${i?.n})`)
};

const id_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Perpustakaan (${i?.n})`)
};

const pt_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Biblioteca (${i?.n})`)
};

const fr_user_library_count = /** @type {(inputs: User_Library_CountInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Bibliothèque (${i?.n})`)
};

/**
* | output |
* | --- |
* | "Library ({n})" |
*
* @param {User_Library_CountInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const user_library_count = /** @type {((inputs: User_Library_CountInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<User_Library_CountInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_user_library_count(inputs)
	if (locale === "ru") return ru_user_library_count(inputs)
	if (locale === "id") return id_user_library_count(inputs)
	if (locale === "pt") return pt_user_library_count(inputs)
	return fr_user_library_count(inputs)
});