/**
 * @license chowa v1.1.3
 *
 * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import * as React from 'react';
import { DataIndex, SortMode } from './table-column';
import { UpdateParams, SorterInfo } from './table';
export interface TableSorterProps {
    sorted?: boolean;
    sortMode?: SortMode;
    sortMethod?: (dataIndex: DataIndex, mode: SortMode) => any;
    dataIndex: DataIndex;
    activeSorter: SorterInfo;
    updateTable: (params: UpdateParams) => void;
}
declare class TableSorter extends React.PureComponent<TableSorterProps, any> {
    constructor(props: TableSorterProps);
    componentDidUpdate(preProps: TableSorterProps): void;
    componentDidMount(): void;
    private doSort;
    render(): JSX.Element;
}
export default TableSorter;
