import { Vec2 } from '@adobe/data/math'; export interface DraggableProps { onDragStart: (e: PointerEvent) => Vec2 | void; onDrag: (e: PointerEvent, newPosition: Vec2, delta: Vec2) => void; onDragEnd?: (e: PointerEvent, newPosition: Vec2, delta: Vec2) => void; /** * Called if this hook is destroyed before the drag is completed. */ onDragCancel?: () => void; minDragDistance?: number; dragCursor?: string; addPlaceholder?: boolean; stopPropagation?: boolean; } export declare function useDraggable(element: HTMLElement, props: DraggableProps, dependencies: unknown[]): void;