/* eslint-disable */ import { getLocale, experimentalStaticLocale } from '../runtime.js'; /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ /** @typedef {{}} AddInputs */ const en_add = /** @type {(inputs: AddInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`Add`) }; const zh_add = /** @type {(inputs: AddInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`添加`) }; /** * | output | * | --- | * | "Add" | * * @param {AddInputs} inputs * @param {{ locale?: "en" | "zh" }} options * @returns {LocalizedString} */ export const add = /** @type {((inputs?: AddInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { const locale = experimentalStaticLocale ?? options.locale ?? getLocale() if (locale === "en") return en_add(inputs) return zh_add(inputs) });