import { Vec } from "@thi.ng/vectors"; import { GestureEvent, GestureStream } from "@thi.ng/rstream-gestures"; import { IMotionEvent } from "./api"; export interface DragGesture2DEvent { gesture: GestureStream; particle: IMotionEvent<"particle">; } export interface DragGesture2DOpts { maxSpeed: number; friction: number; initialPosition?: Vec; } export declare const dragGesture2d: (gesture$: GestureStream, opts?: Partial) => import("@thi.ng/rstream").StreamSync<{ particle: import("@thi.ng/rstream").ISubscription, IMotionEvent<"particle">>; gesture: GestureStream; }, { gesture: GestureEvent; particle: IMotionEvent<"particle">; }>; //# sourceMappingURL=drag-gesture.d.ts.map