export interface CDTAttribute { name: string; value: string; } export interface CDTNode { nodeType: number; nodeName?: string; attributes?: CDTAttribute[]; childNodeIndexes?: number[] | null; nodeValue?: string; shadowRootIndex?: number; exp_adoptedStyleSheets?: string[]; } export interface CrossFrame { selector: string; index: number; } export interface Blob { url: string; value?: string; type?: string; errorStatusCode?: number; } export interface RawDomSnapshot { url: string; selector?: string; cdt: CDTNode[]; crossFrames?: CrossFrame[]; frames: RawDomSnapshot[]; resourceUrls: string[]; blobs: Blob[]; srcAttr?: string; baseUri?: string; scriptVersion?: string; safeSelectors?: string[]; warnings?: string[]; }