import { Request } from '../../interface';
import { PropTypes as NsTableProps } from '../../table';
export interface NsSortProps {
    swapRequest: Request;
    toTopRequest: Request;
    /** 排序的字段 key， 默认是 'sortNum' */
    orderKey?: string;
    primaryKey: string;
    onRefresh: () => void;
    onOrderChange?: () => void;
}
export interface PropTypes extends NsSortProps {
    dataSource: any[];
    primaryKey: any;
    tableProps: NsTableProps;
}
export default function Sort({ dataSource, tableProps, primaryKey, swapRequest, toTopRequest, onRefresh, onOrderChange, }: PropTypes): JSX.Element;
