import type { SnapshotResult, AriaSnapshotResult } from '../types.js'; /** * Take a role-based snapshot using Playwright's ariaSnapshot(). * This produces a tree with ref IDs that can be targeted by actions. */ export declare function snapshotRole(opts: { cdpUrl: string; targetId?: string; selector?: string; frameSelector?: string; refsMode?: 'role' | 'aria'; timeoutMs?: number; options?: { interactive?: boolean; compact?: boolean; maxDepth?: number; }; }): Promise; /** * Take a raw ARIA accessibility tree snapshot via CDP. */ export declare function snapshotAria(opts: { cdpUrl: string; targetId?: string; limit?: number; }): Promise;