/** * @file 组件 upload * @author chenkai13 */ import { previewImage } from './utils'; import Progress from '../progress'; import Icon from '../icon'; import Tooltip from '../tooltip'; import Base from 'santd/base'; import type { FileIconProps, FileIconState, FileIconComputed, UploadListProps, UploadListState, UploadListComputed } from './interface'; declare class FileIcon extends Base { static template: string; static computed: { isImage(this: FileIcon): boolean; }; static components: { 's-icon': typeof Icon; }; handlePreview(file: any, e: Event): void; } export default class UploadList extends Base { static computed: { items(this: UploadList): any[]; }; parentComponent: any; initData(): { listType: string; progressAttr: { strokeWidth: number; showInfo: boolean; }; showRemoveIcon: boolean; showPreviewIcon: boolean; previewFile: typeof previewImage; fileList: never[]; }; updated(): void; handleClose(file: any): void; handlePreview({ file, e }: { file: any; e: Event; }): void; static components: { 's-tooltip': typeof Tooltip; 's-fileicon': typeof FileIcon; 's-progress': typeof Progress; 's-icon': typeof Icon; }; static template: string; } export {};