import React from 'react'; import { TableDataItemBase, TableOnCellClick, TableOnChange, TableOnRowClick, TableRowClassNameHandler } from "./table-types"; import { ScaleProps } from "../use-scale"; interface Props { data?: Array; initialData?: Array; emptyText?: string; hover?: boolean; onRow?: TableOnRowClick; onCell?: TableOnCellClick; onChange?: TableOnChange; className?: string; rowClassName?: TableRowClassNameHandler; } declare type NativeAttrs = Omit, keyof Props>; export declare type TableProps = Props & NativeAttrs; declare function TableComponent(tableProps: React.PropsWithChildren>): JSX.Element; declare namespace TableComponent { var defaultProps: { hover: boolean; initialData: never[]; emptyText: string; className: string; rowClassName: () => string; }; var displayName: string; var Column: { (columnProps: React.PropsWithChildren>): null; defaultProps: { className: string; render: () => void; }; displayName: string; }; } declare const _default: typeof TableComponent & ScaleProps; export default _default;