import React, { Component } from 'react'; import { TableState, TableProp } from './interface'; import './index.less'; declare class Index extends Component { static defaultProps: { columns: never[]; rowKey: (record: any, index: number) => any; pagination: { showTotal: (total: any) => string; showSizeChanger: boolean; showQuickJumper: boolean; pageSizeOptions: string[]; total: number; showLessItems: boolean; size: string; pageSize: number; }; className: string; hasResize: boolean; hasSet: boolean; isPopBody: boolean; }; components: { header: { cell: (props: any) => any; }; }; tableRef: React.RefObject; constructor(props: any); static getDerivedStateFromProps(nextProps: any, prevState: any): { header: any; preHeader: any; } | null; componentDidMount(): void; componentDidUpdate(prevProps: any): void; handleResize: (index: any) => (_: any, { size }: any) => void; updateCols: (cols: any) => void; handleSetVisible: (value: any) => void; render(): JSX.Element; } export default Index;