/** * @template T * @param {T[]} array * @param {() => void} callback * @returns */ export default function useDnd(array: T[], callback: () => void): { activeDnd: import("vue").ComputedRef; sortableArray: import("vue").ShallowRef; hovered: import("vue").Ref; draggable: import("vue").Ref; dragging: import("vue").Ref; itemBind: (itemIndex: number, defaultItemProps: Record) => { onMouseenter: () => void; onMouseleave: () => void; onDragstart: (e: DragEvent) => void; onDragover: () => void; onDragend: () => void; }; handleBind: (itemIndex: number) => { onMouseover(): void; onMouseout(): void; }; }; //# sourceMappingURL=use-dnd.d.ts.map