declare class ShadowTreeWalker { #private; filter: any; root: any; whatToShow: any; get currentNode(): Node; set currentNode(node: Node); constructor(doc: any, root: any, whatToShow: any, filter: any); nextNode(): Node; previousNode(): any; } export declare function createTreeWalker(doc: any, root: any, whatToShow: any, filter: any): ShadowTreeWalker; export {};