import type { Page } from 'playwright-core'; declare const DOM_REF_ATTRIBUTE = "data-bd-ref"; declare const CONTENT_BOUNDARY_HEADER = "BRIGHTDATA_BROWSER_CONTENT"; declare const CONTENT_BOUNDARY_FOOTER = "END_BRIGHTDATA_BROWSER_CONTENT"; declare const wrap_content: (content: string, origin: string) => string; type Snapshot_capture_opts = { compact?: boolean; depth?: number; interactive?: boolean; selector?: string; wrap?: boolean; }; type Snapshot_ref = { ref: string; selector: string; }; type Snapshot_node = { children: Snapshot_node[]; interactive?: boolean; level?: number; name?: string; placeholder?: string; ref?: string; role: string; value?: string; }; type Snapshot_capture_result = { compact: boolean; depth?: number; interactive: boolean; refs: Snapshot_ref[]; selector?: string; snapshot: string; title: string; url: string; wrap: boolean; }; type Snapshot_text_opts = { empty_label?: string; nodes: Snapshot_node[]; title: string; url: string; }; declare const format_snapshot_text: (opts: Snapshot_text_opts) => string; declare const capture_snapshot: (page: Page, opts?: Snapshot_capture_opts) => Promise; export { CONTENT_BOUNDARY_FOOTER, CONTENT_BOUNDARY_HEADER, DOM_REF_ATTRIBUTE, capture_snapshot, format_snapshot_text, wrap_content, }; export type { Snapshot_capture_opts, Snapshot_capture_result, Snapshot_node, Snapshot_ref, Snapshot_text_opts, }; //# sourceMappingURL=snapshot.d.ts.map