export interface ElementSuggestion { index: number; tag: string; suggested_xpath: string; unique: boolean; match_count: number; alternatives: XPathCandidate[]; attributes: Record; text: string; } interface XPathCandidate { xpath: string; match_count: number; unique: boolean; } export declare function parseSnapshot(html: string): Document; export declare function evalXPath(xpath: string, doc: Document): Node[]; export declare function getVisibleText(el: Element): string; export declare function getMeaningfulAttributes(el: Element): Record; export declare function suggestXPath(el: Element, doc: Document): { suggested: string; unique: boolean; match_count: number; alternatives: XPathCandidate[]; }; export declare function findInteractiveElements(doc: Document, filter: string[]): Element[]; export declare function suggestAll(html: string, filter?: string[]): ElementSuggestion[]; export {};