/**
 * 文件上传状态
 */
declare enum UploadFileStatusEnum {
    /**
     * 准备就绪
     */
    READY = "ready",
    /**
     * 上传中
     */
    UPLOADING = "uploading",
    /**
     * 上传完成
     */
    SUCCESS = "success",
    /**
     * 上传失败
     */
    ERROR = "error",
    /**
     * 取消上传
     */
    ABORT = "abort"
}
/**
 *  文件分片etag
 */
interface ISliceUploadFileEtag {
    ETag: string;
    PartNumber: number;
}
/**
 * 文件分片参数
 */
interface ISliceUploadFilePart {
    /**
     * 分片索引
     */
    index: number;
    /**
     * 分片大小
     */
    size: number;
    /**
     * 分片的偏移量
     */
    offset: number;
}
/**
 * 文件上传之后，后端返回的文件信息
 */
type IUploadFileSuccessFile = Record<'fileName' | 'fileSize' | 'id' | 'qaId' | 'suffix' | 'tuzaiKnowledgeQa' | 'type' | 'url', string | null>;
/**
 * 单文件上传签名信息
 */
type IUploadFileSignatureData = Record<'policy' | 'accessId' | 'signature' | 'host', string>;
export type { ISliceUploadFileEtag, ISliceUploadFilePart, IUploadFileSignatureData, IUploadFileSuccessFile, };
export { UploadFileStatusEnum };
