/**
 * In-memory image bytes keyed by `imageId` (hub protocol), with deep hydration
 * of snapshot/live payloads that use image refs (`data: ""`).
 */
export interface ImagePayload {
    imageId: string;
    mimeType: string;
    data: string;
}
export declare class PeerImageCache {
    private readonly byId;
    store(payload: ImagePayload): void;
    get(imageId: string): ImagePayload | undefined;
    hydrate<T>(value: T): T;
    collectMissingImageIds(value: unknown): string[];
    private hydrateValue;
    private hydrateArray;
    private hydratePlainObject;
}
//# sourceMappingURL=peer-image-cache.d.ts.map