/** * Public surface of the URN library. * * Side-effect: registers the core schemas at module load time. Modules and * extensions that import this module — even just for the `UrnService` class * — will trigger registration. Third-party extensions that need additional * URN types call `registerUrnSchema()` from their own `bootstrap.ts`. */ import { registerUrnSchema, getUrnSchema, hasUrnSchema, listUrnSchemas } from './services/UrnRegistry.js'; import { UrnService } from './services/UrnService.js'; export declare const CatalogUrn: { product: (uuid: string) => string; category: (uuid: string) => string; }; export declare const CmsUrn: { widgetInstance: (uuid: string) => string; widgetPlacement: (uuid: string) => string; page: (uuid: string) => string; }; export declare const OmsUrn: { order: (uuid: string) => string; }; export declare const BlogUrn: { post: (uuid: string) => string; category: (uuid: string) => string; tag: (uuid: string) => string; }; export declare const CustomerUrn: { customer: (uuid: string) => string; }; export declare const PromotionUrn: { landingPage: (uuid: string) => string; }; export { UrnService }; export { registerUrnSchema, getUrnSchema, hasUrnSchema, listUrnSchemas }; export type { UrnSchema } from './services/UrnRegistry.js'; export type { UrnParts } from './services/UrnService.js';