import type { RowKeyType, RowDataType } from '../@types/common';
interface UseTableDataProps<Row extends RowDataType, Key extends RowKeyType> {
    data: readonly Row[];
    isTree?: boolean;
    expandedRowKeys: readonly Key[];
    rowKey?: RowKeyType;
}
declare function useTableData<Row extends RowDataType, Key extends RowKeyType>(props: UseTableDataProps<Row, Key>): readonly Row[];
export default useTableData;
