interface UseDraggableRowArgs { /** Unique identifier for the referenced element. */ id: string; /** Index of the referenced element in a list. */ index: number; /** Ref of the element to be made draggable and a drop target. */ ref: React.RefObject | null; /** Ref of the element that should be used as the drag handle. */ dragHandleRef: React.RefObject | null; } interface UseDraggableRowReturn { /** Whether the referenced element is currently being dragged. */ isDragging: boolean; /** The edge on which to render the drop indicator. */ dropIndicatorPosition: "top" | "bottom" | null; } declare function useDraggableRow({ id, index, ref, dragHandleRef, }: UseDraggableRowArgs): UseDraggableRowReturn; export default useDraggableRow;