/** The pointer delta from the drag's start. */ export interface DragLive { id: string; dx: number; dy: number; } export interface PointerDragApi { /** Non-null only past the threshold. */ live: DragLive | null; /** Stable per id so listeners do not thrash. The grip's `cursor` and `touch-action: none` (without which * touch scrolls the page) belong to the caller's stylesheet, where a consumer can beat them. */ bind: (id: string) => (node: HTMLElement | null) => void; } /** Pointer drag for time-axis primitives (calendar chips, gantt handles): a threshold separates taps, then * window-level move/up; no floating clone. `onDrop` gets the final pointer position and delta. */ export declare function usePointerDrag(onDrop: (id: string, pointer: { x: number; y: number; }, delta: { dx: number; dy: number; }) => void): PointerDragApi;