/** The transport slice inspect needs; tests inject fakes for both. */ export type ItemDefInspectApi = { request(method: string, path: string): Promise; }; export type FetchText = (url: string) => Promise; export type ItemDefInspectResult = { assetId: string; version: number; kind: string | undefined; official?: boolean; descriptor: Record; }; export declare function parseAssetRef(raw: string): { assetId: string; version: number | null; }; export declare function inspectItemDef(api: ItemDefInspectApi, fetchText: FetchText, ref: string): Promise; export declare function formatItemDefInspect(result: ItemDefInspectResult): string;