@aplus-frontend/ui
Version:
30 lines (29 loc) • 1.2 kB
TypeScript
import { ApDownLoadProps, downloadCallbackResponse } from './interface';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { ButtonType } from '@aplus-frontend/antdv/es/button';
type __VLS_Props = ApDownLoadProps;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
icon?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
downloadCallback: (res?: downloadCallbackResponse | undefined) => any;
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
onDownloadCallback?: ((res?: downloadCallbackResponse | undefined) => any) | undefined;
}>, {
size: "small" | "large" | "middle";
type: ButtonType;
disabled: boolean;
}, {}, {}, {}, 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;
};
};