import { Sort } from '../utils'

export type UseTableProps = {
  /** Initial sort value in uncontrolled mode. */
  defaultSort?: Sort
  /** Callback called with updated value when sort changes. */
  onSortChange?: (sort: Sort) => void
  /** Sort value in controlled mode. */
  sort?: Sort
}
