import type { LocateResult } from './locateTypes';
/**
 * Thrown when {@link PageAiCallable.locate} cannot resolve a natural-language
 * description to a single DOM element after exhausting retries.
 */
export declare class LocateException extends Error {
    readonly description: string;
    readonly reason: 'no_matches' | 'too_many_matches' | 'llm_error';
    readonly details?: string | undefined;
    /** The last {@link LocateResult} the LLM returned before giving up (if any). */
    readonly lastResult?: LocateResult | undefined;
    constructor(description: string, reason: 'no_matches' | 'too_many_matches' | 'llm_error', details?: string | undefined, 
    /** The last {@link LocateResult} the LLM returned before giving up (if any). */
    lastResult?: LocateResult | undefined);
}
//# sourceMappingURL=LocateException.d.ts.map