export interface TargetElements {
target: HTMLElement;
ancestors: HTMLElement[];
}
export declare const isVisible: (element: HTMLElement) => boolean;
export declare const buildCandidateSelector: (element: HTMLElement) => string;
export declare const findCandidateElements: (root: Element | Document, target: HTMLElement) => HTMLElement[];
export declare const flattenTargetElements: (element: HTMLElement) => TargetElements;
export declare const queryHtmlSelectorAll: (root: Element | Document, selectorHtml: string) => HTMLElement[];