export declare enum SortOrder {
    ASC = "ASC",
    DSC = "DSC"
}
declare type State = {
    order?: SortOrder;
    by?: string;
};
export default function useTableSort(initialState?: Partial<State>): {
    sorted: State;
    clear: () => void;
    sort: (id: string) => void;
};
export {};
