import { ApDownLoadProps, downloadCallbackResponse, ApDownLoadNeedNameModel } 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" | "middle" | "large";
    type: ButtonType;
    disabled: boolean;
    preview: boolean;
    needName: ApDownLoadNeedNameModel;
}, {}, {}, {}, 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;
    };
};
