/** * Get element scope, which can be either * DocumentElement, DocumentFragment (ShadowDom) * or null if element is not attached to DOM. * @param element Element to get root for * @returns root node or null */ declare const getElementScope: (element: Element) => Document | DocumentFragment | null; /** * Return true if passed target has overflow content * @param target Target element * @returns true If target has overflow */ declare const isElementOverflown: (target: HTMLElement) => boolean; export { getElementScope, isElementOverflown };