/** Determines if element contains text */
export declare const hasText: (element: HTMLElement) => boolean;
export declare type Direction = 'ltr' | 'rtl';
export declare type Theme = 'dark' | 'light';
export declare const getElementDir: (element: HTMLElement) => Direction;
export declare const getRootNode: (element: Element) => Document | ShadowRoot;
export declare const getHost: (root: Document | ShadowRoot) => Element | null;
export declare const queryElementRoots: <T extends Element = Element>(element: Element, selector: string) => T;
export declare const closestElementCrossShadowBoundary: <T extends Element = Element>(element: Element, selector: string) => T;
declare const _default: {
  closestElementCrossShadowBoundary: <T extends Element = Element>(element: Element, selector: string) => T;
  getElementDir: (element: HTMLElement) => Direction;
  getHost: (root: Document | ShadowRoot) => Element;
  getRootNode: (element: Element) => Document | ShadowRoot;
  hasText: (element: HTMLElement) => boolean;
  queryElementRoots: <T_1 extends Element = Element>(element: Element, selector: string) => T_1;
};
export default _default;
