declare const assignFilteredObject: (element: HTMLElement, object: Record) => void; /** Determines if element contains text */ declare const hasText: (element: HTMLElement) => boolean; declare type Direction = 'ltr' | 'rtl'; declare const getElementDir: (element: HTMLElement) => Direction; declare const getRootNode: (element: Element) => Document | ShadowRoot; declare const getHost: (root: Document | ShadowRoot) => Element | null; declare const queryElementRoots: (element: Element, selector: string) => T; declare const closestElementCrossShadowBoundary: (element: Element, selector: string) => T; declare const setValidElementAttributes: (element: HTMLElement, attributes: Record) => void; export { assignFilteredObject, closestElementCrossShadowBoundary, getElementDir, getHost, getRootNode, hasText, queryElementRoots, setValidElementAttributes, };