import React, { PropsWithChildren, ReactElement, Ref } from 'react'; import { OldDataTableProps } from './converter.old'; export type DataTableProps = OldDataTableProps; export declare const DataTable: (props: import("./types").DataTableProps & { sortBy?: string | undefined; hideSelectAll?: boolean | undefined; noDataText?: React.ReactNode; noDataPadding?: number | undefined; resize?: boolean | undefined; cellHoverStyle?: boolean | undefined; cellDisabledStyle?: boolean | undefined; expandableButton?: boolean | undefined; dividerRows?: ((row: DataType, index: number) => boolean) | undefined; rowKeyExtractor?: ((row: DataType, index: number) => React.Key) | undefined; rowSelectionKeyExtractor?: ((row: DataType, index: number) => React.Key) | undefined; onSortBy?: ((sortKey: string) => void) | undefined; onSelectRows?: ((selectedRowKeys: React.Key[], selectedRows: import("./types").DataTableRowsType) => void) | undefined; onExpandRows?: ((expandedRowKeys: React.Key[]) => void) | undefined; } & { children?: React.ReactNode; } & { ref?: React.Ref | undefined; }) => ReactElement;