import { BaseButtonProps, BorderlessButtonProps, RawButtonProps, RectButtonProps, } from '../components/GestureButtons'; import { GestureEvent, GestureEventPayload, HandlerStateChangeEvent, HandlerStateChangeEventPayload, } from './gestureHandlerCommon'; import { FlingGestureHandlerEventPayload, FlingGestureHandlerProps, } from './FlingGestureHandler'; import { ForceTouchGestureHandlerEventPayload, ForceTouchGestureHandlerProps, } from './ForceTouchGestureHandler'; import { LongPressGestureHandlerEventPayload, LongPressGestureHandlerProps, } from './LongPressGestureHandler'; import { PanGestureHandlerEventPayload, PanGestureHandlerProps, } from './PanGestureHandler'; import { PinchGestureHandlerEventPayload, PinchGestureHandlerProps, } from './PinchGestureHandler'; import { RotationGestureHandlerEventPayload, RotationGestureHandlerProps, } from './RotationGestureHandler'; import { TapGestureHandlerEventPayload, TapGestureHandlerProps, } from './TapGestureHandler'; import { NativeViewGestureHandlerPayload, NativeViewGestureHandlerProps, } from './NativeViewGestureHandler'; // events export type GestureHandlerGestureEventNativeEvent = GestureEventPayload; export type GestureHandlerStateChangeNativeEvent = HandlerStateChangeEventPayload; export type GestureHandlerGestureEvent = GestureEvent; export type GestureHandlerStateChangeEvent = HandlerStateChangeEvent; // gesture handlers events export type NativeViewGestureHandlerGestureEvent = GestureEvent; export type NativeViewGestureHandlerStateChangeEvent = HandlerStateChangeEvent; export type TapGestureHandlerGestureEvent = GestureEvent; export type TapGestureHandlerStateChangeEvent = HandlerStateChangeEvent; export type ForceTouchGestureHandlerGestureEvent = GestureEvent; export type ForceTouchGestureHandlerStateChangeEvent = HandlerStateChangeEvent; export type LongPressGestureHandlerGestureEvent = GestureEvent; export type LongPressGestureHandlerStateChangeEvent = HandlerStateChangeEvent; export type PanGestureHandlerGestureEvent = GestureEvent; export type PanGestureHandlerStateChangeEvent = HandlerStateChangeEvent; export type PinchGestureHandlerGestureEvent = GestureEvent; export type PinchGestureHandlerStateChangeEvent = HandlerStateChangeEvent; export type RotationGestureHandlerGestureEvent = GestureEvent; export type RotationGestureHandlerStateChangeEvent = HandlerStateChangeEvent; export type FlingGestureHandlerGestureEvent = GestureEvent; export type FlingGestureHandlerStateChangeEvent = HandlerStateChangeEvent; // handlers properties export type NativeViewGestureHandlerProperties = NativeViewGestureHandlerProps; export type TapGestureHandlerProperties = TapGestureHandlerProps; export type LongPressGestureHandlerProperties = LongPressGestureHandlerProps; export type PanGestureHandlerProperties = PanGestureHandlerProps; export type PinchGestureHandlerProperties = PinchGestureHandlerProps; export type RotationGestureHandlerProperties = RotationGestureHandlerProps; export type FlingGestureHandlerProperties = FlingGestureHandlerProps; export type ForceTouchGestureHandlerProperties = ForceTouchGestureHandlerProps; // button props export type RawButtonProperties = RawButtonProps; export type BaseButtonProperties = BaseButtonProps; export type RectButtonProperties = RectButtonProps; export type BorderlessButtonProperties = BorderlessButtonProps;