import React, { ReactNode } from 'react'; export interface Sort { order: string; key: string; } export interface Columns { title?: string; dataIndex: string | number; key: string; width?: string; } export interface TableRow { key: string | number; [key: string]: string | number | ReactNode; } export interface TableProps { columns: Array; tableData?: Array; fluid?: boolean; textColor?: string; oddColor?: string; hoverColor?: string; borderColor?: string; headerActiveColor?: string; headerHoverColor?: string; headerBorderColor?: string; onRowClick?: (row: TableRow) => void; onSort?: (sort: Sort) => void; sort?: Sort; style?: React.CSSProperties; className?: string; size: 'x-small' | 'small' | 'normal' | 'large'; noDataText?: string; textAlign?: 'left' | 'center' | 'right'; } export declare const defaultTableProps: Partial; export declare const Table: { (props: TableProps): JSX.Element; defaultProps: Partial; }; export default Table;