declare const isElement: (el: any) => el is Element;
declare const isHTMLElement: (el: any) => el is HTMLElement;
declare const isDocument: (el: any) => el is Document;
declare const isWindow: (el: any) => el is Window;
declare const isVisualViewport: (el: any) => el is VisualViewport;
declare const getNodeName: (node: Node | Window) => string;
declare function isRootElement(node: Node): boolean;
declare const isNode: (el: any) => el is Node;
declare const isShadowRoot: (el: any) => el is ShadowRoot;
declare const isInputElement: (el: any) => el is HTMLInputElement;
declare const isAnchorElement: (el: HTMLElement | null | undefined) => el is HTMLAnchorElement;
declare const isElementVisible: (el: Node) => boolean;
declare function isActiveElement(element: Element | null | undefined): boolean;
declare function isEditableElement(el: HTMLElement | EventTarget | null): boolean;
type Target = HTMLElement | EventTarget | null | undefined;
/** Whether `parent` contains `child` in the light tree, or `child` is inside a shadow tree hosted under `parent`. */
declare function getParentElement(node: Element): Element | null;
declare function getAncestorElements(node: Element | null): Element[];
declare function contains(parent: Target, child: Target): boolean;
declare function getDocument(el: Element | Window | Node | Document | null | undefined): Document;
declare function getDocumentElement(el: Element | Node | Window | Document | null | undefined): HTMLElement;
declare function getWindow(el: Node | ShadowRoot | Document | null | undefined): Window & typeof globalThis;
declare function getActiveElement(rootNode: Document | ShadowRoot): HTMLElement | null;
declare function getParentNode(node: Node): Node;
declare function getRootNode(node: Node): Document | ShadowRoot;

export { contains, getActiveElement, getAncestorElements, getDocument, getDocumentElement, getNodeName, getParentElement, getParentNode, getRootNode, getWindow, isActiveElement, isAnchorElement, isDocument, isEditableElement, isElement, isElementVisible, isHTMLElement, isInputElement, isNode, isRootElement, isShadowRoot, isVisualViewport, isWindow };
