import { DataColumn } from '../../../types/data-structures';
/**
 * This is a hook that manage columns reordering. It handle dragStart, dragOver and drop.
 * @param columns Columns of data structure
 * @param setColumns State of columns inside datatable
 * @returns
 */
export declare function useColumnReorder(columns: DataColumn[], setColumns: (cols: DataColumn[]) => void): {
    handleDragStart: (colName: string) => void;
    handleDragOver: (e: React.DragEvent) => void;
    handleDrop: (targetColName: string) => void;
};
//# sourceMappingURL=useColumnReorder.d.ts.map