/// import { TableProps as RcTableProps } from 'rc-table/lib/Table'; import { SpinProps } from '../spin'; import { TableRowSelection, ColumnsType, TableCurrentDataSource, SorterResult, Key, GetPopupContainer, TablePaginationConfig, SortOrder, TableLocale } from './interface'; import { SizeType } from '../config-provider/SizeContext'; export { ColumnsType, TablePaginationConfig }; export interface TableProps extends Omit, 'transformColumns' | 'internalHooks' | 'internalRefs' | 'data' | 'columns' | 'scroll' | 'emptyText'> { dropdownPrefixCls?: string; dataSource?: RcTableProps['data']; columns?: ColumnsType; pagination?: false | TablePaginationConfig; loading?: boolean | SpinProps; size?: SizeType; bordered?: boolean; locale?: TableLocale; onChange?: (pagination: TablePaginationConfig, filters: Record, sorter: SorterResult | SorterResult[], extra: TableCurrentDataSource) => void; rowSelection?: TableRowSelection; getPopupContainer?: GetPopupContainer; scroll?: RcTableProps['scroll'] & { scrollToFirstRowOnChange?: boolean; }; sortDirections?: SortOrder[]; showSorterTooltip?: boolean; } declare function Table(props: TableProps): JSX.Element; declare namespace Table { var defaultProps: { rowKey: string; }; var SELECTION_ALL: "SELECT_ALL"; var SELECTION_INVERT: "SELECT_INVERT"; var Column: typeof import("./Column").default; var ColumnGroup: typeof import("./ColumnGroup").default; var Summary: { Cell: typeof import("rc-table/lib/Footer/Cell").default; Row: typeof import("rc-table/lib/Footer/Row").default; }; } export default Table;