import { TabValue } from '../type';
import TTabPanel from '../tab-panel';
interface DragSortProps {
    theme?: string;
    panels?: Array<InstanceType<typeof TTabPanel>>;
    onDragSort?: (context: {
        currentIndex: number;
        current: TabValue;
        targetIndex: number;
        target: TabValue;
    }) => void;
}
declare const handleDragSort: (props: DragSortProps) => {
    setNavsWrap: (val: HTMLDivElement) => void;
    dragSortDestroy: () => void;
};
export default handleDragSort;
