ant-design-x-vue
Version:
Craft AI-driven interfaces effortlessly
29 lines (28 loc) • 1.1 kB
TypeScript
import { type VNode } from 'vue';
import type { AttachmentsProps } from './interface';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
placeholder?(props?: {
type: "inline" | "drop";
}): VNode | string;
}> & {
placeholder?(props?: {
type: "inline" | "drop";
}): VNode | string;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<AttachmentsProps, {
nativeElement: HTMLDivElement | null;
upload: (file: File) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AttachmentsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};