import { PaginationProps, FormInstance } from 'antd'; import React from 'react'; import { RowSelectionType } from 'antd/es/table/interface'; import 'antd/es/table/style/index'; import './index.less'; interface AppPaginationProps extends PaginationProps { pageNow?: number; } interface AppTableProps { ref?: any; size?: 'small' | 'middle' | 'large' | undefined; pagination?: false | AppPaginationProps; form?: FormInstance; columns?: Array; defaultState?: boolean; list?: Array; title?: JSX.Element; tableTitle?: any; isSelection?: boolean; selectionType?: RowSelectionType; selectedKeys?: string[]; bordered?: boolean; expanded?: boolean; initialValues?: any; watermark?: boolean; onSearch?: (value: any) => void; onReset?: () => void; className?: React.HTMLAttributes | string | undefined; style?: React.CSSProperties; filter?: any; loading?: boolean; rowKey?: string; extra?: any; isSearch?: boolean; searchIcon?: any; resetIcon?: any; editableCell?: any; getCheckboxProps?: (record: any) => void; onExpanded?: (expanded: boolean) => void; onChange?: (pagination: any) => void; onSelect?: (ids: string[], value: any[]) => void; onInit?: (clear: () => void) => void; } declare const Table: React.ForwardRefExoticComponent & React.RefAttributes>; export default Table;