export function withinViewport(rect: DOMRect): boolean; export function assignRect(rect: DOMRect | BoxRectDimension, scrollPosition?: boolean): BoxRectDimension; export function getRangeClientRect(element: Element): BoxRectDimension | null; export function getParentElement(element: Element): HTMLElement | null; export function createElement(tagName: string | T, options: CreateElementOptions): T; export function getNamedItem(element: Element, attr: string, fallback?: string): string; export function getPageEncoding(): string; export function getSrcValue(element: SrcElement | HTMLVideoElement | HTMLLinkElement | SVGUseElement | SVGImageElement, image?: boolean): string | null; export function escapeHtml(value: string, ampersand?: boolean): string; export function isCustomElement(element: Element): boolean; export function isOpen(element: Element, modal?: boolean): boolean | null;