import type { BasicType } from '../../_utils'; import type { PropType, ExtractPropTypes } from 'vue'; import type { UpLoadCallback } from './interface'; export declare const Props: { /** 文件列表 */ readonly files: BasicType, File[] | null>; /** 接受的文件类型 */ readonly accept: BasicType, string | null>; /** * 原生 name 属性 * * @see name https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input#attr-name */ readonly name: BasicType, string | null>; /** 是否可拖拽上传 */ readonly drag: BasicType; /** 是否可删除 */ readonly isRemove: BasicType; /** 是否展示文件列表 */ readonly showList: BasicType; /** 是否可多选 */ readonly multiple: BasicType; /** 最大上传尺寸 */ readonly maxSize: BasicType; /** 最大上传数量 */ readonly maxLength: BasicType; /** 是否禁用 */ readonly disabled: BasicType; /** 上传成功后执行的回调 */ readonly onLoad: BasicType, null>; /** 绑定的文件列表发生改变时触发的回调 */ readonly onChange: BasicType, null>; }; /** up-load 组件 props 类型 */ export type UpLoadProps = ExtractPropTypes;