import { ColumnProps } from '../components/Table/types';
export declare function useTableSort<T>(data: T[], columns: ColumnProps<T>[]): {
    sortStates: {
        [key: string]: {
            direction: "asc" | "desc" | null;
            priority: number;
        };
    };
    handleColumnSort: (columnKey: string, sorter?: (a: T, b: T) => number) => void;
    sortedData: T[];
};
