export default function getDocumentElement(element: Element | Window): HTMLElement;