function toInternalRouteRef(resource) { const r = resource; if (r.$$type !== "@backstage/RouteRef") { throw new Error(`Invalid RouteRef, bad type '${r.$$type}'`); } return r; } function isRouteRef(opaque) { return opaque.$$type === "@backstage/RouteRef"; } export { isRouteRef, toInternalRouteRef }; //# sourceMappingURL=RouteRef.esm.js.map