import { LLMModels } from "../llm-connectors/model-factory.js"; import { type GhostCursor } from "ghost-cursor-patchright-core"; import type { CaptchaAction } from "../llm-connectors/llm-connector.js"; import type { BrowserContext, Frame, Page } from "patchright"; export declare function wrapContextToForceOpenShadowRoots(context: BrowserContext): Promise; /** * Solves captchas on the page by interacting with iframes and labeling actions. * @param page - The Playwright Page object. * @param model - The LLM model to use (defaults to GEMINI). * @param cursor - Optional GhostCursor for interactions. */ export declare function solveCaptchas(page: Page, model?: LLMModels, cursor?: GhostCursor): Promise; export declare function handleCaptchaAction(page: Page, captchaFrame: Frame, boundingBox: { x: number; y: number; width: number; height: number; }, action: CaptchaAction, cursor: GhostCursor): Promise; //# sourceMappingURL=solve-captcha.d.ts.map