/**
 * Self-healing selector repair.
 *
 * When a browser tool fails because a CSS selector can't be found,
 * healer.ts takes a screenshot of the current page, sends it along with
 * the original intent to the configured AI model, and asks it to identify
 * the new correct selector.
 *
 * Provider-agnostic: uses the same multi-provider stack as judge.ts.
 * Config: enabled via selfHeal: true in ~/.testers/config.json
 */
import type { Page } from "playwright";
export interface HealRequest {
    page: Page;
    failedSelector: string;
    intent: string;
    model?: string;
}
export interface HealResult {
    newSelector: string | null;
    confidence: number;
    reasoning: string;
    healed: boolean;
}
export declare function healSelector(request: HealRequest): Promise<HealResult>;
//# sourceMappingURL=healer.d.ts.map