import { TableSortDirection } from './TableHeader.js'; export type TableSortProps = ReturnType["getSortProps"]>["sortable"]; export declare const useSortableTableHeader: (activeSortKey: string, activeSortDirection: TableSortDirection, onChange: (newSortKey: string, newSortDirection: TableSortDirection) => void) => { getSortProps: (columnKey: string) => { sortable: { onClick: () => void; direction: TableSortDirection; }; }; };