import { ComponentType } from 'react' import { StandardProps } from '../common' interface PanGestureHandlerProps extends StandardProps { /** 声明手势协商时的组件标识 * @supported weapp */ tag?: string /** 手势识别成功的回调 * @supported weapp */ onGestureWorklet?: string /** 手指移动过程中手势是否响应 * @supported weapp */ shouldResponseOnMoveWorklet?: string /** 手势是否应该被识别 * @supported weapp */ shouldAcceptGestureWorklet?: string /** 声明可同时触发的手势节点 * @supported weapp */ simultaneousHandlers?: string[] /** 代理的原生节点类型 * @supported weapp */ nativeView?: string } /**拖动(横向/纵向)时触发手势 * 微信小程序下 skyline 的手势标签,只能在 CompileMode 中使用 * @supported weapp * @example_react * ```tsx * import { Component } from 'react' * import { View, PanGestureHandler } from '@tarojs/components' * * export function Index () { * return ( * * * * * * ) * } * ``` */ declare const PanGestureHandler: ComponentType export { PanGestureHandler, PanGestureHandlerProps }