/* eslint-disable */ import { getLocale, experimentalStaticLocale } from '../runtime.js'; /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ /** @typedef {{}} Copy_LinkInputs */ const en_copy_link = /** @type {(inputs: Copy_LinkInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`Copy Link`) }; const zh_copy_link = /** @type {(inputs: Copy_LinkInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`复制链接`) }; /** * | output | * | --- | * | "Copy Link" | * * @param {Copy_LinkInputs} inputs * @param {{ locale?: "en" | "zh" }} options * @returns {LocalizedString} */ export const copy_link = /** @type {((inputs?: Copy_LinkInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { const locale = experimentalStaticLocale ?? options.locale ?? getLocale() if (locale === "en") return en_copy_link(inputs) return zh_copy_link(inputs) });