export interface BlobResource { type: string; value: ArrayBuffer | Uint8Array | string; compressed?: boolean; dependencies?: string[]; } export interface BlobsObj { [url: string]: BlobResource | { errorStatusCode: number; } | { errorStatusCode?: number; type?: string; value?: ArrayBuffer; dependencies?: string[]; }; } export interface BlobResult { url: string; type?: string; value?: ArrayBuffer; dependencies?: string[]; } export interface BlobElement { element: HTMLImageElement | HTMLVideoElement; cdtNode: import('./raw-dom-snapshot').CDTNode; url: string; } export interface CreateBlobParams { type: string; value: ArrayBuffer | Uint8Array; compress?: boolean; serialize?: boolean; } export interface BuildCanvasBlobsOptions { log: (message: string, ...args: any[]) => void; compress?: boolean; serialize?: boolean; } export interface BuildBlobImagesOptions { doc: Document; fetchedBlobs: { [url: string]: any; }; log: (message: string, ...args: any[]) => void; compress?: boolean; serialize?: boolean; sessionCache?: { getItem: (key: string) => any; setItem?: (key: string, value: any) => void; }; } export interface BuildBlobVideosOptions { doc: Document; fetchedBlobs: { [url: string]: any; }; compress?: boolean; serialize?: boolean; log?: (message: string, ...args: any[]) => void; sessionCache?: { getItem: (key: string) => any; setItem?: (key: string, value: any) => void; }; }