import type { RefObject } from 'react'; import type { Option } from 'jamis-core'; import type { IDropIndicator, TreeCompProps } from './types'; export declare const useDragDrop: (config: { containerRef: RefObject; draggable?: boolean; onMove: TreeCompProps["onMove"]; dragStartHook?: (node: Option) => void; }) => { dropIndicator: IDropIndicator | null; onDragStart: (node: Option) => (e: React.DragEvent) => void; onDragEnd: (dragNode: Option) => (e: React.DragEvent) => void; onDragOver: (node: Option) => (e: React.DragEvent) => void; };