export interface Blob { bytes: Uint8Array; mediaType: string; } /** * In-memory, content-addressed blob store for debug binary payloads. The debug * serializer offloads every `Uint8Array` here and emits a small pointer in the * event log instead of the bytes; the `DebugServer` serves them at `/blobs/:id` * on demand. Content addressing (sha1 of the bytes) deduplicates — a redraw loop * that emits the same image every turn stores it once. * * Bounded by a total-byte LRU so a long session of large payloads can't grow * without limit; evicted blobs 404 (the event log keeps the pointer + metadata, * so the UI still shows *what* it was). Both `put` and `get` refresh recency, so * a blob you're actively viewing stays resident. */ export declare class LruBlobStore { private readonly maxBytes; private readonly map; private totalBytes; constructor(maxBytes?: number); /** Store `bytes`, returning a stable content id. Idempotent for equal bytes. */ put(bytes: Uint8Array, mediaType: string): string; get(id: string): Blob | undefined; private touch; private evict; } //# sourceMappingURL=blob-store.d.ts.map