import React from "react"; import { UploadListProps, UploadFile, UploadListType } from "./interface"; import { previewImage } from "./utils"; export default class UploadList extends React.Component { static defaultProps: { listType: UploadListType; showRemoveIcon: boolean; showDownloadIcon: boolean; showPreviewIcon: boolean; previewFile: typeof previewImage; }; componentDidUpdate(): void; handlePreview: (file: UploadFile, e: React.SyntheticEvent) => void; handleDownload: (file: UploadFile) => void; handleClose: (file: UploadFile) => void; handleIconRender: (file: UploadFile) => {} | null | undefined; reupload: (file: any, e: any) => Promise; renderUploadList: () => JSX.Element | null; render(): JSX.Element; }