/** * Pure WDA-side payload/coordinate builders. No I/O. */ import type { LocatorStrategy } from "./wda/wda-types.js"; export type SwipeDirection = "up" | "down" | "left" | "right"; export interface SwipeCoords { x1: number; y1: number; x2: number; y2: number; } /** * Build start/end coordinates for a directional swipe centred at (cx, cy) * with the given pixel distance. */ export declare function buildSwipeCoords(direction: SwipeDirection, cx: number, cy: number, distance: number): SwipeCoords; /** * Map a high-level find-elements criteria object into the list of * (using, value) WDA selector tuples used to query the agent. */ export interface FindElementsCriteria { text?: string; label?: string; type?: string; visible?: boolean; } export interface WdaSelector { using: LocatorStrategy; value: string; } export declare function buildFindElementsSelectors(criteria: FindElementsCriteria): WdaSelector[]; //# sourceMappingURL=wda-payloads.d.ts.map