import { Component } from 'react'; import { CommonThemeProps } from '../types'; import { UploadProps as NextUploadProps } from '@alifd/next/types/upload'; import { Upload as NextUpload } from '@alifd/next'; interface UploadProps extends NextUploadProps, CommonThemeProps { size?: 'small' | 'medium' | 'large'; } interface IUploadState { value?: any; progress?: boolean; } declare class Upload extends Component { static contextTypes: any; static Card: any; static Dragger: any; static Uploader: typeof NextUpload.Uploader; static Selecter: typeof NextUpload.Selecter; constructor(props: any); handleProgress: () => void; handleChange: (...args: any[]) => void; showImg: (url: any) => void; actionRender: (file: any) => JSX.Element; render(): JSX.Element; } declare const _default: typeof Upload; export default _default;