import type { MarketClient } from './client.js'; import type { AssetRefEntry } from './v1/index.js'; export interface AssetRef { name: string; version?: string; } /** The one call the refs read needs — lets tests fake a single function. */ export interface RefsReader { search: MarketClient['asset']['search']; } export interface ResolveAssetOptions { includeUnapproved?: boolean; key?: string; } /** * The collection read in refs mode: full entries (metadata, version history, * files with data-plane URLs) for exactly the given refs — order-preserved, * null per miss. Version omitted resolves to the latest visible version. */ export declare function lookupAssets(asset: RefsReader, refs: AssetRef[], opts?: { includeUnapproved?: boolean; key?: string; }): Promise<(AssetRefEntry | null)[]>; /** Resolve a bare asset name or exact name@version without accepting semver ranges. */ export declare function resolveAsset(client: RefsReader, ref: string, opts?: ResolveAssetOptions): Promise; //# sourceMappingURL=refs.d.ts.map