import React from 'react'; import { TableRowSelection } from '../Table'; import { UploadFile } from 'antd/lib/upload/interface'; interface IProps { fileList?: UploadFile[]; action?: any; headers?: any; method?: any; apiBaseUrl: string; fileBaseUrl?: string; uploadUser?: string; onDelete?: (index: number, file: any) => void; onUpload?: (index: number, file: UploadFile) => void; isAutoDelete?: boolean; showDeleteBtn?: boolean; /**是否显示下载按钮 */ onDownLoadCallbackBefore?: (file: any) => boolean; showDownloadBtn?: boolean; onDownLoadCallbackAfter?: (file: any) => void; /**是否显示预览按钮 */ showPreviewBtn?: boolean; onPreviewCallbackBefore?: (file: any) => boolean; data: any; authToken?: string; isPublic?: boolean; /**额外的上传表格列配置 */ startColumns?: any; otherColumns?: any; showUploadBtn?: boolean; /**是否显示selection */ rowSelection?: TableRowSelection | 'checkbox' | 'radio'; uploadTableRef?: any; tableRestProps?: any; privateTableRef?: any; } declare const _default: React.NamedExoticComponent; export default _default;