import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue'; import { SFCWithInstall } from 'yc-pro-components/es/utils'; import { YcDownloadDialogProps, UploadRecord } from './src/type'; import { default as YcDownloadDialog } from './src/index.vue'; /** 批量导入下载对话框组件 */ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{ new (...args: any[]): CreateComponentPublicInstance; default: string; }; modelValue: { type: PropType; default: boolean; }; templateUrl: { type: PropType; }; templateText: { type: PropType; default: string; }; uploadAction: { type: PropType; default: string; }; fetchRecords: { type: PropType<() => Promise<{ data: UploadRecord[]; total: number; }>>; }; onUploadSuccess: { type: PropType<(response: any, file: any) => void>; }; onUploadError: { type: PropType<(error: any, file: any) => void>; }; }>> & { "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; "onUpload-success"?: ((response: any, file: any) => any) | undefined; "onUpload-error"?: ((error: any, file: any) => any) | undefined; "onDownload-template"?: (() => any) | undefined; }, { fetchUploadRecords: () => Promise; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (value: boolean) => void; "upload-success": (response: any, file: any) => void; "upload-error": (error: any, file: any) => void; "download-template": () => void; }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{ title: { type: PropType; default: string; }; modelValue: { type: PropType; default: boolean; }; templateUrl: { type: PropType; }; templateText: { type: PropType; default: string; }; uploadAction: { type: PropType; default: string; }; fetchRecords: { type: PropType<() => Promise<{ data: UploadRecord[]; total: number; }>>; }; onUploadSuccess: { type: PropType<(response: any, file: any) => void>; }; onUploadError: { type: PropType<(error: any, file: any) => void>; }; }>> & { "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; "onUpload-success"?: ((response: any, file: any) => any) | undefined; "onUpload-error"?: ((error: any, file: any) => any) | undefined; "onDownload-template"?: (() => any) | undefined; }, { title: string; modelValue: boolean; templateText: string; uploadAction: string; }, true, {}, {}, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ title: { type: PropType; default: string; }; modelValue: { type: PropType; default: boolean; }; templateUrl: { type: PropType; }; templateText: { type: PropType; default: string; }; uploadAction: { type: PropType; default: string; }; fetchRecords: { type: PropType<() => Promise<{ data: UploadRecord[]; total: number; }>>; }; onUploadSuccess: { type: PropType<(response: any, file: any) => void>; }; onUploadError: { type: PropType<(error: any, file: any) => void>; }; }>> & { "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; "onUpload-success"?: ((response: any, file: any) => any) | undefined; "onUpload-error"?: ((error: any, file: any) => any) | undefined; "onDownload-template"?: (() => any) | undefined; }, { fetchUploadRecords: () => Promise; }, {}, {}, {}, { title: string; modelValue: boolean; templateText: string; uploadAction: string; }>; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & ComponentOptionsBase; default: string; }; modelValue: { type: PropType; default: boolean; }; templateUrl: { type: PropType; }; templateText: { type: PropType; default: string; }; uploadAction: { type: PropType; default: string; }; fetchRecords: { type: PropType<() => Promise<{ data: UploadRecord[]; total: number; }>>; }; onUploadSuccess: { type: PropType<(response: any, file: any) => void>; }; onUploadError: { type: PropType<(error: any, file: any) => void>; }; }>> & { "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; "onUpload-success"?: ((response: any, file: any) => any) | undefined; "onUpload-error"?: ((error: any, file: any) => any) | undefined; "onDownload-template"?: (() => any) | undefined; }, { fetchUploadRecords: () => Promise; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (value: boolean) => void; "upload-success": (response: any, file: any) => void; "upload-error": (error: any, file: any) => void; "download-template": () => void; }, string, { title: string; modelValue: boolean; templateText: string; uploadAction: string; }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: { "download-icon"?(_: {}): any; "upload-icon"?(_: {}): any; }; })>; export { YcDownloadDialog }; export type { YcDownloadDialogProps, UploadRecord }; export default YcDownloadDialog; export { YcDownloadDialog as ReDownloadDialog }; export type YcDownloadDialogInstance = InstanceType;