import { Page, Locator } from 'playwright';
/**
 * Intelligent selector healing and fallback engine.
 */
export declare class Healer {
    /**
     * Attempts to find a working locator from a list of candidates.
     * Priority follows the enterprise standards (1-8).
     */
    static heal(page: Page, targets: string[], aiConfig?: {
        provider: 'openai' | 'gemini';
        apiKey: string;
    }, failedAction?: {
        action: string;
        target: string;
        error: string;
    }): Promise<Locator | null>;
    /**
     * Generates a ranked list of selectors for an element (in-browser part).
     * Note: This logic is partially mirrored in the recorder's client.js.
     */
    static getSelectorPriority(element: HTMLElement): string[];
    private static isDynamic;
}
