import React from 'react'; import { ScrollViewProps, ViewProps, FlatListProps, SectionListProps } from 'react-native'; import { NativeViewGestureHandler, PanGestureHandler, PanGestureHandlerGestureEvent } from 'react-native-gesture-handler'; import Animated, { useAnimatedScrollHandler } from 'react-native-reanimated'; export declare type SwipeableScrollViewProps = Omit; export declare type SwipeableFlatListProps = Omit, 'bounces'>; export declare type SwipeableSectionListProps = Omit, 'bounces'>; export declare const useBottomSheet: (config: { onWillOpen?: () => void; onWillClose?: () => void; onDidClose?: () => void; onDidOpen?: () => void; initialPosition: 'open' | 'closed'; }) => SwipeDismissalType; declare const usePanGestureHandler: () => (event: PanGestureHandlerGestureEvent) => void; export declare type SwipeDismissalType = { scrollHandler: ReturnType; onGesture: ReturnType; nativeHandler: React.RefObject; panHandler: React.RefObject; SwipeView: React.FC; SheetScrollView: React.FC>; SheetFlatList: React.FC, 'bounces'>>; SheetSectionList: React.FC, 'bounces'>>; bounces: Animated.SharedValue; open: () => void; close: () => void; panTranslation: Animated.SharedValue; offset: Animated.SharedValue; val: Animated.SharedValue; scrollPosition: Animated.SharedValue; }; export {};