import { AssetError, type AssetPublicationEnvelope, type CatalogEntry, type Result } from '@forgeax/engine-types'; export interface CompactCatalogWire { readonly schemaVersion: 'pack-index-publications/1'; readonly entries: readonly (Omit & { readonly publicationIndex?: number; })[]; readonly publications: readonly AssetPublicationEnvelope[]; } /** Transport only: keep every producer field and complete publication tuple. * Invalid typed producer input is a programmer error and throws TypeError. */ export declare function encodeCatalogWire(entries: readonly CatalogEntry[]): CompactCatalogWire | readonly CatalogEntry[]; /** Restore existing readonly rows before ordinary Catalog validation. */ export declare function decodeCatalogWire(raw: unknown): Result; //# sourceMappingURL=catalog-wire.d.ts.map