import type { Frame, Page } from "patchright"; import type { CaptchaAction } from '../llm-connectors/llm-connector.js'; /** * Labels a captcha action (click, type, or drag) by injecting overlay elements into the main page. * @param frame - The Playwright Frame corresponding to the captcha iframe. * @param action - A CaptchaAction object specifying the action to label. * @param index - A unique numeric index for labeling and color selection. * @param page - The Playwright Page to attach the overlay to (defaults to frame's page). * @returns The updated index (index + 1). */ export declare function labelCaptchaActionOnFrame(frame: Frame, action: CaptchaAction, index: number, page?: Page): Promise; /** * Removes all captcha overlay highlights from the main page. * @param page - The Playwright Page containing the overlays. */ export declare function removeHighlights(page: Page): Promise; //# sourceMappingURL=highlighter.d.ts.map