/* eslint-disable */ import { getLocale, experimentalStaticLocale } from '../runtime.js'; /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ /** @typedef {{ count: NonNullable }} Matched_ItemsInputs */ const en_matched_items = /** @type {(inputs: Matched_ItemsInputs) => LocalizedString} */ (i) => { return /** @type {LocalizedString} */ (`Matched ${i?.count} items`) }; const zh_matched_items = /** @type {(inputs: Matched_ItemsInputs) => LocalizedString} */ (i) => { return /** @type {LocalizedString} */ (`匹配了 ${i?.count} 项`) }; /** * | output | * | --- | * | "Matched {count} items" | * * @param {Matched_ItemsInputs} inputs * @param {{ locale?: "en" | "zh" }} options * @returns {LocalizedString} */ export const matched_items = /** @type {((inputs: Matched_ItemsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs, options = {}) => { const locale = experimentalStaticLocale ?? options.locale ?? getLocale() if (locale === "en") return en_matched_items(inputs) return zh_matched_items(inputs) });