export { L as LangCode, O as OnInvalid, b as OnRefused, R as RefusalReport, T as TranslateHtmlOptions, c as checkHtmlInput, e as extractHyperscriptAttributes, f as formatRefusalReport, t as translateHtml, a as translateHtmlToManyLangs } from './html-BlS5La9s.js'; export { CanonicalValidate, ParseCheckReport, formatParseCheckReport, loadValidator, validateHyperscript } from './validate.js'; /** * Translate hyperscript between any two languages. * * Identity when source and target match — kept from the i18n signature, and not * merely an optimization: a parse/render round trip normalizes incidental syntax * (`'Got it!'` comes back as `"Got it!"`), which a same-language call should not * do to a caller's source. * * @throws when the input cannot be parsed in `sourceLocale`, or `targetLocale` * has no registered renderer. */ declare function translate(input: string, sourceLocale: string, targetLocale: string): string; /** English → `targetLocale`. */ declare function toLocale(input: string, targetLocale: string): string; /** `sourceLocale` → English. */ declare function toEnglish(input: string, sourceLocale: string): string; export { toEnglish, toLocale, translate };