import { UseTableProps } from './useTable.types';
/** Handles controlled/uncontrolled sort of the Table rows. */
export default function useTable(props: UseTableProps): {
    isControlled: boolean;
    onSortChange: (key: string) => void;
    sort: import("../utils").Sort;
};
export type UseTableReturnType = ReturnType<typeof useTable>;
//# sourceMappingURL=useTable.d.ts.map