/** * Enhanced snapshot processing for browser-use DOM tree extraction. * * This module provides stateless functions for parsing Chrome DevTools Protocol (CDP) DOMSnapshot data * to extract visibility, clickability, cursor styles, and other layout information. */ import { EnhancedSnapshotNode } from './views'; export declare const REQUIRED_COMPUTED_STYLES: readonly ["display", "visibility", "opacity", "position", "z-index", "pointer-events", "cursor", "overflow", "overflow-x", "overflow-y", "width", "height", "top", "left", "right", "bottom", "transform", "clip", "clip-path", "user-select", "background-color", "color", "border", "margin", "padding"]; interface RareBooleanData { index: number[]; } interface NodeTreeSnapshot { backendNodeId?: number[]; isClickable?: RareBooleanData; } interface LayoutTreeSnapshot { nodeIndex?: number[]; bounds?: number[][]; styles?: number[][]; paintOrders?: number[]; clientRects?: number[][]; scrollRects?: number[][]; stackingContexts?: { index: number[]; }; } interface SnapshotDocument { nodes: NodeTreeSnapshot; layout: LayoutTreeSnapshot; } interface CaptureSnapshotReturns { documents: SnapshotDocument[]; strings: string[]; } /** * Build a lookup table of backend node ID to enhanced snapshot data with everything calculated upfront. */ export declare function buildSnapshotLookup(snapshot: CaptureSnapshotReturns, devicePixelRatio?: number): Map; export {}; //# sourceMappingURL=enhanced_snapshot.d.ts.map