@wfrog/vc
Version:
vue3 组件库 vc
31 lines (30 loc) • 1.17 kB
TypeScript
import { IUploadFileProps } from './upload-file';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<IUploadFileProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
error: (message: string) => any;
}, string, import('vue').PublicProps, Readonly<IUploadFileProps> & Readonly<{
onError?: ((message: string) => any) | undefined;
}>, {
cropper: boolean;
type: "image" | "button";
accept: string;
imageOptions: Partial<import('./upload-file').IImageOptions>;
buttonOptions: Partial<import('./upload-file').IButtonOptions>;
maxSize: number;
cropperOption: Cropper.Options;
}, {}, {}, {}, string, import('vue').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;
};
};