import { UIElement } from '@instructure/shared-types';
/**
* ---
* category: utilities/DOM
* ---
*
* Retrieves the scroll parents of a specified element.
* Includes parents of nodeType 1 (Element nodes such
* as
or
) that have overflow css properties
* set to auto, scroll, or overlay
* @module getScrollParents
*
* @param { Node | Window | React.ReactElement | React.Component | function | null } el - component or DOM node
* @returns {Array} scroll parents
*/
declare function getScrollParents(el?: UIElement): (Node | Window | null)[] | (Document | null)[];
export default getScrollParents;
export { getScrollParents };
//# sourceMappingURL=getScrollParents.d.ts.map