/* eslint-disable */ import { getLocale, experimentalStaticLocale } from '../runtime.js'; /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ /** @typedef {{}} CustomInputs */ const en_custom = /** @type {(inputs: CustomInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`Custom`) }; const zh_custom = /** @type {(inputs: CustomInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`自定义`) }; /** * | output | * | --- | * | "Custom" | * * @param {CustomInputs} inputs * @param {{ locale?: "en" | "zh" }} options * @returns {LocalizedString} */ export const custom = /** @type {((inputs?: CustomInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { const locale = experimentalStaticLocale ?? options.locale ?? getLocale() if (locale === "en") return en_custom(inputs) return zh_custom(inputs) });