/* eslint-disable */ import { getLocale, experimentalStaticLocale } from '../runtime.js'; /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */ /** @typedef {{}} Are_You_SureInputs */ const en_are_you_sure = /** @type {(inputs: Are_You_SureInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`Are you absolutely sure?`) }; const zh_are_you_sure = /** @type {(inputs: Are_You_SureInputs) => LocalizedString} */ () => { return /** @type {LocalizedString} */ (`确定要执行此操作吗?`) }; /** * | output | * | --- | * | "Are you absolutely sure?" | * * @param {Are_You_SureInputs} inputs * @param {{ locale?: "en" | "zh" }} options * @returns {LocalizedString} */ export const are_you_sure = /** @type {((inputs?: Are_You_SureInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata} */ ((inputs = {}, options = {}) => { const locale = experimentalStaticLocale ?? options.locale ?? getLocale() if (locale === "en") return en_are_you_sure(inputs) return zh_are_you_sure(inputs) });