export declare function WaitForElement(Selector: string, Root?: HTMLElement | Document): Promise;