export type { AssetRef } from "./models.js"; export { ASSET_NAME_HINT, assetRefToStr, isValidAssetName, parseAssetRef, } from "./models.js"; /** Parsed catalog-wire ref. `publisher` never carries a leading `@`. */ export interface CatalogRef { /** Asset kind when the ref carried a `kind:` prefix; null otherwise. */ kind: string | null; /** Publisher namespace, WITHOUT a leading `@`. */ publisher: string; /** Asset name. */ name: string; /** Version / pin when present; null otherwise. */ version: string | null; } /** * Lenient parse to parts; total (returns null on malformed input, including a * legacy `@version` ref — `@` is scope-only). Mirrors the store's parseStoreRef. */ export declare function parseCatalogRef(ref: string): CatalogRef | null; /** * Normalize a loose ref to the wire string: strip a leading `@`, rewrite a * post-name `@version` to `#version` (idempotent; version-less / slash-less pass * through). Mirrors the platform's toStoreRef. */ export declare function toCatalogWireRef(ref: string): string; //# sourceMappingURL=ref.d.ts.map