export declare const closestParent: (start: HTMLElement, match: (el: HTMLElement) => boolean) => HTMLElement | null; export declare const parentQuery: (start: HTMLElement, match: (parent: HTMLElement) => HTMLElement | null, maxIterations?: number) => HTMLElement | null; export declare const walkUpWhile: (start: HTMLElement, maxIterations: number) => (check: (parent: HTMLElement, candidate: HTMLElement) => boolean) => HTMLElement; export declare const getNthParent: (el: HTMLElement) => (n: number) => HTMLElement; export declare const uniqueNodes: (...nodes: HTMLElement[][]) => HTMLElement[]; export declare const getNodeRect: (el: HTMLElement) => { height: number; width: number; top: number; bottom: number; area: number; }; export declare const matchPreviousSibling: (el: Element, match: (el: Element) => boolean) => Element | null; export declare const matchPreviousNonEmptySibling: (el: Element) => Element | null; export declare const getLabelFor: (el: HTMLElement) => HTMLElement | null; export declare const getRectCenter: (rect: DOMRect) => { x: number; y: number; }; export declare const getRectMinDistance: (rectA: DOMRect, rectB: DOMRect) => { dx: number; dy: number; }; export declare const pruneNested: (els: HTMLElement[]) => HTMLElement[]; export declare const getCommonAncestor: (elementA: HTMLElement, elementB: HTMLElement) => HTMLElement; export declare const findStackedParents: (els: HTMLElement[], maxIterations: number) => HTMLElement[];