import React from 'react'; import './style/index.less'; interface UploaderProps { extraExt?: string; accept?: string; fileList?: any[]; fileType?: string; className?: string; isOnly?: boolean; children?: React.ReactNode; onChange?: (file?: any, defaultFile?: { file: any; fileList: any[]; }) => void; value?: any; size?: number; modalSize?: string; onPreview?: (file?: any) => any; beforeUpload?: (file: any, fileList: any) => any; limit?: number; modalConfig?: any; modalZIndex?: number; crop?: boolean; cropConfig?: any; [k: string]: any; } declare const Uploader: React.ForwardRefExoticComponent & React.RefAttributes>; export default Uploader;