import { Column } from "@tanstack/react-table"; import { ReactElement } from "react"; type SortableColumn = Pick, "id" | "getCanSort" | "getIsSorted" | "toggleSorting" | "columnDef">; interface SortingProps { columns: Array>; } /** * Sorting component for managing table column sorting. * * @template TSorting - The type representing the data model associated with the columns. * @template TSortingValue - The type representing the value of columns. * @param {SortingProps} props - The props object containing sorting properties. * @returns {ReactElement | null} A React JSX element representing the Sorting component or null if there are no sortable columns. */ export declare const Sorting: ({ columns, }: SortingProps) => ReactElement | null; export {};