/** Reads bounded source-origin JSON incrementally instead of allocating an unlimited body. */ export declare function readEmbedJson(url: URL, fetcher: typeof fetch, signal?: AbortSignal, maxBytes?: number, cache?: RequestCache, input?: Pick): Promise; /** Cancels one consumer promptly without aborting source-owned shared index acquisition. */ export declare function waitEmbedSourceWork(work: Promise, signal: AbortSignal): Promise;