import { ComponentClass } from 'react' ; import { GestureUpdateEvent , GestureStateChangeEvent , } from '../gestureHandlerCommon' ; export interface SharedValue < T > { value : T ; } let Reanimated ; try { Reanimated = require ( 'react-native-reanimated' ) ; if ( ! Reanimated . setGestureState ) { Reanimated . setGestureState = ( ) => { 'worklet' ; console . warn ( 'Please use newer version of react-native-reanimated in order to control state of the gestures.' ) ; } ; } } catch ( e ) { } export { Reanimated } ;