function toInternalTranslationRef(ref) { const r = ref; if (r.$$type !== "@backstage/TranslationRef") { throw new Error(`Invalid translation ref, bad type '${r.$$type}'`); } if (r.version !== "v1") { throw new Error(`Invalid translation ref, bad version '${r.version}'`); } return r; } export { toInternalTranslationRef }; //# sourceMappingURL=TranslationRef.esm.js.map