import { ReactTestInstance } from 'react-test-renderer'; import { FlingGestureHandler } from '../handlers/FlingGestureHandler'; import { ForceTouchGestureHandler } from '../handlers/ForceTouchGestureHandler'; import { BaseGestureHandlerProps, GestureEvent, HandlerStateChangeEvent } from '../handlers/gestureHandlerCommon'; import { FlingGesture } from '../handlers/gestures/flingGesture'; import { ForceTouchGesture } from '../handlers/gestures/forceTouchGesture'; import { BaseGesture, GestureType } from '../handlers/gestures/gesture'; import { LongPressGesture } from '../handlers/gestures/longPressGesture'; import { NativeGesture } from '../handlers/gestures/nativeGesture'; import { PanGesture } from '../handlers/gestures/panGesture'; import { PinchGesture } from '../handlers/gestures/pinchGesture'; import { RotationGesture } from '../handlers/gestures/rotationGesture'; import { TapGesture } from '../handlers/gestures/tapGesture'; import { LongPressGestureHandler } from '../handlers/LongPressGestureHandler'; import type { ForceTouchGestureHandlerEventPayload, LongPressGestureHandlerEventPayload, NativeViewGestureHandlerPayload, PanGestureHandlerEventPayload, PinchGestureHandlerEventPayload, RotationGestureHandlerEventPayload, TapGestureHandlerEventPayload } from '../handlers/GestureHandlerEventPayload'; import { NativeViewGestureHandler } from '../handlers/NativeViewGestureHandler'; import { PanGestureHandler } from '../handlers/PanGestureHandler'; import { PinchGestureHandler } from '../handlers/PinchGestureHandler'; import { RotationGestureHandler } from '../handlers/RotationGestureHandler'; import { TapGestureHandler } from '../handlers/TapGestureHandler'; type GestureHandlerTestEvent = Record> = (GestureEvent | HandlerStateChangeEvent)['nativeEvent']; type AllGestures = TapGesture | PanGesture | LongPressGesture | RotationGesture | PinchGesture | FlingGesture | ForceTouchGesture | NativeGesture; type AllHandlers = TapGestureHandler | PanGestureHandler | LongPressGestureHandler | RotationGestureHandler | PinchGestureHandler | FlingGestureHandler | ForceTouchGestureHandler | NativeViewGestureHandler; type ClassComponentConstructor

= new (props: P) => React.Component; type ExtractPayloadFromProps = T extends BaseGestureHandlerProps ? TPayload : never; type ExtractConfig = T extends BaseGesture ? TGesturePayload : T extends ClassComponentConstructor ? ExtractPayloadFromProps : Record; export declare function fireGestureHandler(componentOrGesture: ReactTestInstance | GestureType, eventList?: Partial>>[]): void; export declare function getByGestureTestId(testID: string): BaseGesture> | BaseGesture> | BaseGesture | BaseGesture | BaseGesture | BaseGesture | BaseGesture | BaseGesture | BaseGesture | BaseGesture; export {}; //# sourceMappingURL=jestUtils.d.ts.map