// src/product-framework/product-registry.ts
var REGISTRY = [];
function getRegisteredProductBySlug(slug) {
  return REGISTRY.find((p) => p.slug === slug);
}

// src/product-framework/primary-nav-from-registry.ts
function primaryNavLinksForSlug(slug) {
  const def = getRegisteredProductBySlug(slug);
  return def?.nav?.length ? def.nav : void 0;
}
export {
  primaryNavLinksForSlug
};
//# sourceMappingURL=primary-nav-from-registry.js.map