@aplus-frontend/ui
Version:
31 lines (30 loc) • 1.13 kB
TypeScript
import { ApUploadFile, ApUploadSingleProps } from '../interface';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
type __VLS_Props = ApUploadSingleProps;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {
file: ApUploadFile | undefined;
clear: () => void | undefined;
}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:fileList": (...args: any[]) => void;
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
}>, {
maxSize: number;
accept: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};