import type { Page } from "playwright";
export interface AriaSnapshot {
    tree: string;
    interactive_count: number;
    refs: Record<string, {
        role: string;
        name: string;
    }>;
}
export declare function takeSnapshot(page: Page, sessionId: string): Promise<AriaSnapshot>;
export declare function getRefLocator(page: Page, sessionId: string, ref: string): Promise<ReturnType<Page["locator"]>>;
export declare function applyStealthPatches(page: Page): Promise<void>;
export declare function getDeepPerformance(page: Page): Promise<unknown>;
//# sourceMappingURL=browser-compat.d.ts.map