import React from 'react'; import { Summary } from 'rc-table'; import { TableProps as AntdTableProps } from 'antd'; import { ColumnType, ColumnsType, ColumnGroupType, TablePaginationConfig } from 'antd/lib/table/interface'; import Column, { ColumnProps } from './Column'; import ColumnGroup from './ColumnGroup'; export type { ColumnsType, TablePaginationConfig, ColumnGroupType, ColumnType, ColumnProps }; export interface TableProps extends Omit, 'size'> { size?: AntdTableProps['size'] | 'large' | 'xs'; } declare const ForwardTable: (props: TableProps & { children?: React.ReactNode; } & { ref?: React.Ref; }) => React.ReactElement; declare type InternalTableType = typeof ForwardTable; interface TableInterface extends InternalTableType { defaultProps?: Partial>; SELECTION_ALL: 'SELECT_ALL'; SELECTION_INVERT: 'SELECT_INVERT'; SELECTION_NONE: 'SELECT_NONE'; Column: typeof Column; ColumnGroup: typeof ColumnGroup; Summary: typeof Summary; } declare const Table: TableInterface; export { Table }; export default Table;