import type { Page } from 'playwright-core'; export interface SnapshotEntry { ref: string; selector: string; tag: string; role?: string | undefined; inputType?: string | undefined; text: string; } export interface SnapshotResult { interactive: boolean; text: string; entries: SnapshotEntry[]; refs: Record; } export declare function clearSnapshotRefs(page: Page): Promise; export declare function takeSnapshot(page: Page, interactiveOnly: boolean): Promise;