///
import { TableHeadProps as MuiTableHeadProps } from "@mui/material/TableHead";
import { TableCellProps as MuiTableCellProps } from "@mui/material/TableCell";
import { Order, CellDataKeys } from "./TableContainer";
export interface HeadCell {
/**
* The id that's identical with the cellKey of all CellData in the same column
*/
id: CellDataKeys;
/**
* The actual content to be rendered
*/
label: string;
/**
* Additional props to decorate tableCell
*/
props?: {
[key in keyof MuiTableCellProps]: any;
};
}
export interface HeadSortCell extends HeadCell {
/**
* Enable sorting ability
*/
sortable?: boolean;
}
export interface TableHeadSortProps extends MuiTableHeadProps {
headCells: HeadSortCell[];
order: Order;
orderBy: string;
onRequestSort: (event: React.MouseEvent, property: CellDataKeys) => void;
}
declare const TableHeadSort: React.FC;
export default TableHeadSort;