import { GestureUpdateEvent } from '../gestureHandlerCommon' ; import { ContinousBaseGesture } from './gesture' ; function changeEventCalculator ( current , _previous ? ) { 'worklet' ; return current ; } export class ManualGesture extends ContinousBaseGesture < Record < string , never > , Record < string , never > > { constructor ( ) { super ( ) ; this . handlerName = 'ManualGestureHandler' ; } onChange ( callback ) { this . handlers . changeEventCalculator = changeEventCalculator ; return super . onChange ( callback ) ; } } export type ManualGestureType = InstanceType < typeof ManualGesture > ;