import { UploadFile, UploadProps, UploadUserFile } from 'element-plus';
export interface CiUploadProps {
    action?: string;
    downloadUrl?: string;
    uploadBtnText?: string;
    maxSize?: number;
    multiple?: boolean;
    limit?: number;
    accept?: string;
    fileList?: UploadUserFile[];
    beforeUpload?: UploadProps['beforeUpload'];
    showUploadProgress?: boolean;
    showDownloadProgress?: boolean;
    showFileExtIcon?: boolean;
    showFileSize?: boolean;
    showPreviewBtn?: boolean;
    showDownloadBtn?: boolean;
    showDeleteBtn?: boolean;
    drag?: boolean;
    disabled?: boolean;
    readonly?: boolean;
    /**
     * 自定义请求对象：可选传入 axios 实例，用于替代默认 axios - 默认值: axios (场景：如需使用本项目配置过的 axios 实例接管上传 下载)
     * 若传入了：将使用该实例发起上传请求（支持统一拦截器等配置）
     * 若未传入：则默认使用全局的 axios 对象
     */
    axiosInstance?: any;
}
export type CiUploadFiles = CiUploadFile[];
export interface CiUploadUserFile extends UploadUserFile {
    fileName?: string;
    fileKey?: string;
    fileSize?: number;
}
export interface CiUploadFile extends UploadFile {
    fileName?: string;
    fileKey?: string;
    fileSize?: number;
}
