import type { Worklet } from '@lynx-js/react/worklet-runtime/bindings'; export declare const GestureTypeInner: { readonly COMPOSED: -1; readonly PAN: 0; readonly FLING: 1; readonly DEFAULT: 2; readonly TAP: 3; readonly LONGPRESS: 4; readonly ROTATION: 5; readonly PINCH: 6; readonly NATIVE: 7; }; export type GestureTypeInner = (typeof GestureTypeInner)[keyof typeof GestureTypeInner]; export interface GestureKind { type: GestureTypeInner; __isSerialized?: boolean; __isGesture?: boolean; } export interface ComposedGesture extends GestureKind { type: (typeof GestureTypeInner)['COMPOSED']; gestures: GestureKind[]; } export interface BaseGesture extends GestureKind { id: number; callbacks: Record; waitFor: BaseGesture[]; simultaneousWith: BaseGesture[]; continueWith: BaseGesture[]; config?: Record; } export interface GestureConfig { callbacks: { name: string; callback: Worklet; }[]; config?: Record; }