/**
 * 可拖拽table
 * @author 施阳 2021-4-14
 */
import React from 'react';
import { TableProps } from 'antd/lib/table';
import './index.less';
interface ITableProps extends TableProps<IObject> {
    onSort?: (from: number, to: number, dataSource: any[]) => void;
}
interface OptionProps {
    onSort?: (from: number, to: number, dataSource: any[]) => void;
}
declare const DragTable: {
    (props: ITableProps): JSX.Element;
    useDragTable: (element: React.ReactElement, option?: OptionProps | undefined) => JSX.Element;
};
export default DragTable;
