export declare function findInAncestorNodes(node: Node, predicate: (node: Node) => unknown): (Node & ParentNode) | undefined;