export declare function getRoot(element: HTMLElement): Document | ShadowRoot;