/** * Coordinate Converter Utility * Converts percentage-based coordinates to pixel coordinates and generates Playwright commands */ import { CoordinateAction } from '../orchestrator/types'; export declare class CoordinateConverter { /** * Convert percentage coordinates to actual pixel coordinates */ static percentToPixels(xPercent: number, yPercent: number, viewportWidth: number, viewportHeight: number): { x: number; y: number; }; /** * Get viewport dimensions from page */ static getViewportSize(page: any): Promise<{ width: number; height: number; }>; /** * Convert coordinate action with percentages to Playwright commands * Returns array of command strings */ static generateCommands(action: CoordinateAction, page: any): Promise; /** * Execute coordinate action directly on page * Used during agent execution (converts and runs immediately) */ static executeAction(action: CoordinateAction, page: any): Promise; } //# sourceMappingURL=coordinate-converter.d.ts.map