/// <reference types="react" />
import type { UploadFile } from 'bonree-design/lib/upload/interface';
interface UploadItemProps {
    /** 当前文件对象 */
    file: UploadFile;
    /** 是否处于错误状态 */
    errorStatus: boolean;
    /** 删除文件回调 */
    onRemove: (file: UploadFile) => void | boolean;
    /** 错误提示信息 */
    errorInfo: string;
    /** 是否正在上传中 */
    uploading: boolean;
    /** 重新上传回调 */
    onReUpload?: () => void;
    /** 允许的文件后缀，用于判断是否显示 Excel 图标 */
    allowedExtensions?: string[];
}
/** 上传列表项：展示文件信息、上传进度及错误提示 */
declare const UploadItem: (props: UploadItemProps) => JSX.Element;
export default UploadItem;
