import { ReactElement } from "react"; type ColumnSortingProps = { canSort: boolean; sortingState?: false | "asc" | "desc"; }; /** * The ColumnSorting is used in the table header to indicate the current sort order of the column. * This is a visual only component and does not handle the sorting logic. * * In most cases, we recommend using the Table Component which already handles sorting indication. * However, if you need to construct a custom table, the Table Base Components can be utilized. * * @param {object} props - Props for the sorting indicator. * @param {boolean} [props.canSort] - Indicates the header sorting ability state (ascending/descending). * @param {boolean} [props.sortingState=false] - Indicates the sorting state (ascending/descending). * @returns {ReactElement | null} A React element representing the sorting indicator. */ declare const ColumnSorting: ({ canSort, sortingState }: ColumnSortingProps) => ReactElement | null; export default ColumnSorting;