import { Animated } from 'react-native'; type SwipeDirection = 'down' | 'up' | 'left' | 'right'; type Options = { enabled?: boolean; onClose?: () => void; threshold?: number; direction?: SwipeDirection; }; export declare function useSwipeToClose({ enabled, onClose, threshold, direction, }: Options): { panHandlers: import("react-native").GestureResponderHandlers; translate: Animated.Value; axis: string; }; export {};