/** * Scroll-axis utilities used by the swipe-dismiss state machine. * * 1:1 port of Base UI React's `packages/react/src/utils/scrollable.ts`. * Identifies scrollable ancestors of a touch target so the swipe hook can * arbitrate between "drag to dismiss" and "scroll the container". */ export type ScrollAxis = "horizontal" | "vertical"; export declare function isScrollable(element: HTMLElement, axis: ScrollAxis): boolean; export declare function hasScrollableAncestor(target: HTMLElement, root: HTMLElement, axes: ScrollAxis[]): boolean; export declare function findScrollableTouchTarget(target: EventTarget | null, root: HTMLElement, axis?: ScrollAxis): HTMLElement | null; //# sourceMappingURL=scrollable.d.ts.map