import type { Page } from '@playwright/test'; import type { ElementResult } from './types.js'; export type OverlayBox = { x: number; y: number; width: number; height: number; label?: string; color?: string; fill?: string; }; /** Remove match outlines so the next OCR screenshot stays clean. */ export declare function hideOcrOverlay(page: Page): Promise; /** * Draw match rectangles on the live page. * Playwright's video is a screencast of the page, so these outlines show up * there. pointer-events: none so fill/click still hit the real controls. */ export declare function showOcrOverlay(page: Page, boxes: OverlayBox[]): Promise; export declare function overlayBoxesFromResult(result: ElementResult, label?: string): OverlayBox[]; //# sourceMappingURL=ocr-overlay.d.ts.map