/** * Placing this attribute on scrollable divs optimizes detection to know * if the div is scrollable or not (given we can avoid expensive operations * like getComputedStyle.) * * @public */ export declare const DATA_IS_SCROLLABLE_ATTRIBUTE = "data-is-scrollable"; /** * Traverses up the DOM for the element with the data-is-scrollable=true attribute, or returns * document.body. * * @public */ export declare function findScrollableParent(startingElement: HTMLElement | null): HTMLElement | Window | undefined | null;