import { RenderItemProps } from '../RenderItem'; import { RcFile } from 'antd/lib/upload'; import 'antd/es/upload/style/index.css'; export interface ItemUploadProps extends RenderItemProps { uploadType: 'card' | 'button' | 'dragger'; onChange?: (value: any, info: any) => void; actionUrl?: string; onResult?: (object: any) => Promise<{ url: string; name?: string; }>; onUpload?: (file: RcFile) => Promise<{ url: string; name?: string; }>; } declare const ItemUpload: (props: ItemUploadProps) => JSX.Element; export default ItemUpload;