import { Sort } from "../utils/types.js";
import { UseTableProps } from "./useTable.types.js";
import "../index.js";

//#region src/table/useTable.d.ts
/** Handles controlled/uncontrolled sort of the Table rows. */
declare function useTable(props: UseTableProps): {
  isControlled: boolean;
  onSortChange: (key: string) => void;
  sort: Sort;
};
type UseTableReturnType = ReturnType<typeof useTable>;
//#endregion
export { UseTableReturnType };

//# sourceMappingURL=useTable.d.ts.map