import React from 'react'; import type { TableProps } from 'antd/lib/table'; import type { TableLocale } from 'antd/lib/table/interface'; export interface ITableProps extends Omit, 'pagination'> { totalSize?: number; pageOption?: number[]; sortOption?: string[]; sortable?: boolean; leftContents?: React.ReactNode; refreshTime?: boolean; loadData?: (paginationState: any) => void; defaultPageSize?: number; pagination?: boolean; useOrigin?: boolean; showAllRows?: boolean; showQuickJumper?: boolean; locale?: TableLocale; columnSpace?: number; savePagination?: boolean; tid?: string; keyword?: string; useInfinite?: boolean; onInfiniteCallback?: () => void; border?: boolean; loadingMessage?: string | React.ReactNode; emptyActions?: React.ReactNode; customIcons?: string | React.ReactNode; paginationDisabled?: boolean; } export interface TableRef { reloadTable: () => void; setLoading: (flag: boolean | 'scroll') => void; } declare const Table: React.ForwardRefExoticComponent & React.RefAttributes>; export default Table;