import type { Page } from "playwright"; export interface ControlSnapshot { tag: string; type?: string; id?: string; name?: string; value?: string; autocomplete?: string; label?: string; } export interface LinkSnapshot { text: string; href?: string; } export interface PageSnapshot { url: string; title: string; text: string; headings: string[]; buttons: string[]; links: LinkSnapshot[]; controls: ControlSnapshot[]; errors: string[]; } export interface SanitizedDiagnosticSnapshot { url?: string; title: string; headings: string[]; buttons: string[]; links: LinkSnapshot[]; controls: Array>; errors: string[]; } export declare const createSanitizedDiagnosticSnapshot: (snapshot: PageSnapshot) => SanitizedDiagnosticSnapshot; export declare const createPageSnapshot: (page: Page) => Promise;