/** * @file upload * @author leon */ import AjaxUploader from './src/AjaxUploader'; import UploadList from './UploadList'; import Base from 'santd/base'; import type { UploadProps, UploadState, UploadComputed } from './interface'; export default class Upload extends Base { static template: string; static computed: { dragClass(this: Upload): string[]; locale>(this: TBase): any; localeCode>(this: TBase_1): any; }; static Dragger: object; initData(): { componentName: string; type: string; multiple: boolean; action: string; data: {}; accept: string; beforeUpload(): boolean; showUploadList: boolean; listType: string; disabled: boolean; openFileDialogOnClick: boolean; dragState: string; showButton: boolean; method: string; }; inited(): void; static components: { 's-uploadlist': typeof UploadList; 's-upload': typeof AjaxUploader; }; beforeUploadFunc(beforeUpload: UploadState['beforeUpload'], prevFileList: any[]): (file: any, fileList: any[], e: any) => boolean | Promise; progressTimer?: any; clearProgressTimer(): void; autoUpdateProgress(file: any): void; handleStart(file: any): void; handleError({ err, ret, file, e }: any): void; handleProgress({ e, file }: { e?: any; file?: any; }): void; handleSuccess({ ret, file, e }: { ret?: string; file?: any; e?: object; }): void; handleChange(info: any): void; handleRemove(file: any): void; handleManualRemove(file: any): void; handlePreview(file: any): void; handleFileDrop(e: { type: string; }): void; }