1 | /**
|
2 | * Find the first scrollable parent of an element.
|
3 | *
|
4 | * @param element Starting element
|
5 | * @param firstPossible Stop at the first scrollable parent, even if it's not currently scrollable
|
6 | */
|
7 | export default function scrollParent(element: HTMLElement, firstPossible?: boolean): Document | HTMLElement;
|