import { UploadProps } from 'antd'; import React from 'react'; import './index.less'; import { RcFile, UploadFileStatus } from 'antd/lib/upload/interface'; import { DraggerProps } from 'antd/lib/upload'; interface UploadExtraProps { pictureCardTips?: string; } export interface UploadFile { uid: string; size?: number; name: string; fileName?: string; lastModified?: number; lastModifiedDate?: Date; url?: string; status?: UploadFileStatus; percent?: number; thumbUrl?: string; crossOrigin?: React.ImgHTMLAttributes['crossOrigin']; originFileObj?: RcFile; response?: T; error?: any; linkProps?: any; type?: string; xhr?: T; preview?: string; } declare const Upload: { (props: UploadProps & UploadExtraProps): React.JSX.Element; Dragger(props: DraggerProps): React.JSX.Element; LIST_IGNORE: string; }; export { Upload };