import type { ScrollViewProps } from 'react-native'; import type { ReactElement } from 'react'; export type DragableScrollViewProps = ScrollViewProps; /** * A ScrollView that coordinates with a parent DragableDrawer. * * - Drawer below max height: all gestures move the drawer; scroll is locked. * - Drawer at max height: native scrolling works normally. * - Drawer at max + scrolled to top + pull down: drawer collapses. * * The native ScrollView with bounces={false}/overScrollMode="never" will not * intercept a downward gesture at scrollY=0 (nothing left to scroll), so * onMoveShouldSetPanResponderCapture fires cleanly on both platforms. * onScrollEndDrag + onMomentumScrollEnd ensure scrollYRef is up-to-date * before the next gesture starts. */ declare const DragableScrollView: ({ onScroll, onScrollEndDrag: onScrollEndDragProp, onMomentumScrollEnd: onMomentumScrollEndProp, scrollEventThrottle, children, ...props }: DragableScrollViewProps) => ReactElement; export default DragableScrollView;