import * as React from 'react'; import type { TableDataItem, TableProps } from "../../Table.js"; import { SortIndicator } from "./SortIndicator/SortIndicator.js"; import "./withTableSorting.css"; type ColumnSortOrder = 'asc' | 'desc'; interface ColumnSortState { column: string; order: ColumnSortOrder; } type SortState = ColumnSortState[]; export type TableSortState = SortState; export type TableColumnSortState = ColumnSortState; export declare const TableSortIndicator: typeof SortIndicator; export interface WithTableSortingProps { defaultSortState?: SortState; sortState?: SortState; onSortStateChange?: (sortState: SortState) => void; disableDataSorting?: boolean; } export declare function withTableSorting(TableComponent: React.ComponentType & E>): React.ComponentType & WithTableSortingProps & E>; export {};