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