import type { Locator, Page } from "playwright"; export declare function buildRefMap(snapshot: string): Map; export declare function serializeSnapshot(page: Page, options?: { maxChars?: number; }): Promise; export declare function locateByRoleName(page: Page, role: string, name?: string): Locator | null; export declare function findElementByRef(page: Page, ref: string): Promise;