/** * Accessibility-flavoured DOM snapshot: walk the page, assign `@eN` refs to * interactive (and, in full mode, structural) elements, and produce an indented * ref tree the model can read plus a structured node list. * * The walk runs entirely in-page as a single Runtime.evaluate IIFE. It installs * window.__chromeUseRefs as an array of the ref'd elements so later selector * resolution can map `@eN` → element[N-1]. * * Adapted from the `chrome-use` skill (skills/chrome-use/scripts/lib/snapshot.ts). */ import type { CdpClient, TabSession, SnapshotOptions, SnapshotResult } from './types.js'; /** Take a snapshot of the tab, returning the ref tree, ref map, and node list. */ export declare function takeSnapshot(cdp: CdpClient, tab: TabSession, opts: SnapshotOptions): Promise; //# sourceMappingURL=snapshot.d.ts.map