import { type ToolProgressUpdater } from "./tool-runtime.js"; export type CaptchaAwareSession = { id: string; captchasStatus?: () => Promise; captchasSolve?: () => Promise; }; export type CaptchaRecoverySummary = { triggered: boolean; retries: number; solveAttempts: number; statusChecks: number; waitTimedOut: boolean; }; type CaptchaRecoveryOptions = { session: CaptchaAwareSession; context: string; actionLabel: string; onUpdate: ToolProgressUpdater; operation: () => Promise; signal?: AbortSignal; shouldRetry?: (error: unknown) => boolean; }; export declare function isCaptchaInterferenceError(error: unknown): boolean; export declare function runWithCaptchaRecovery(options: CaptchaRecoveryOptions): Promise; export {};