import { ColumnProps, TableOrder } from './types';
export default function useSorter(options: {
    onTableSort?: (TableOrder: TableOrder | Array<TableOrder>) => void;
    columns?: ColumnProps[];
}): {
    sorterListRef: import('react').MutableRefObject<TableOrder | TableOrder[]>;
    sorterList: TableOrder | TableOrder[];
    handleOnTableSort: (order: TableOrder, sorter: boolean | {
        multiple?: number;
    }) => void;
};
