import { PanResponderGestureState } from "react-native"; export declare enum DragState { UNDEFINED = "UNDEFINED", FREE_DRAG = "FREE_DRAG", SWIPE_LEFT = "SWIPE_LEFT", SWIPE_RIGHT = "SWIPE_RIGHT", SWIPE_UP = "SWIPE_UP", SWIPE_DOWN = "SWIPE_DOWN" } export declare class DragStateMachine { dragState: DragState; private readonly disableDragDetection; private readonly blacklistedDragStates; private readonly touchSnapDelta; private dx; private dy; constructor(disableDragDetection?: boolean, blacklistedDragStates?: DragState[], touchSnapDelta?: number); clearState(): void; isTapGesture(gesture: PanResponderGestureState): boolean; getDragState(dx?: number, dy?: number): DragState; }