export class Finder {
    constructor(window: object);
    onError: (e: Error, opt?: {
        noexcept?: boolean;
    }) => void;
    setup: (selector: string, node: object, opt?: {
        check?: boolean;
        noexcept?: boolean;
        warn?: boolean;
    }) => object;
    clearResults: (all?: boolean) => void;
    private _handleFocusEvent;
    private _handleKeyboardEvent;
    private _handleMouseEvent;
    private _registerEventListeners;
    private _processSelectorBranches;
    private _correspond;
    private _createTreeWalker;
    private _getSelectorBranches;
    private _getFilteredChildren;
    private _collectNthChild;
    private _collectNthOfType;
    private _matchAnPlusB;
    private _matchHasPseudoFunc;
    private _evaluateHasPseudo;
    private _matchLogicalPseudoFunc;
    private _matchPseudoClassSelector;
    private _evaluateHostPseudo;
    private _evaluateHostContextPseudo;
    private _matchShadowHostPseudoClass;
    private _matchSelectorForElement;
    private _matchSelectorForShadowRoot;
    private _matchSelector;
    private _matchLeaves;
    private _traverseAllDescendants;
    private _findDescendantNodes;
    private _collectCombinatorMatches;
    private _matchCombinator;
    private _traverseAndCollectNodes;
    private _findPrecede;
    private _findNodeWalker;
    private _matchSelf;
    private _findLineal;
    private _findEntryNodesForPseudoElement;
    private _findEntryNodesForId;
    private _findEntryNodesForClass;
    private _findEntryNodesForType;
    private _findEntryNodesForOther;
    private _findEntryNodes;
    private _determineTraversalStrategy;
    private _processPendingItems;
    private _collectNodes;
    private _getCombinedNodes;
    private _matchNodeNext;
    private _matchNodePrev;
    private _processComplexBranchAll;
    private _processComplexBranchFirst;
    find: (targetType: string) => Set<object>;
    getAST: (selector: string) => object;
    #private;
}
