export declare type WalkCallback = (element: Element) => void; /** * A function to walk a DOM subtree and return an array of Elements in the subtree. * This implementation only visits Nodes of type Element. * * @param subtree – a DOM subtree. */ export declare function walk(subtree: Node, cbs?: WalkCallback[]): void;