import { FormUploader, OssUploader } from '../components/upload/uploader'; import type { UploadResult } from '../components/upload/types'; export type UploadType = 'Form' | 'Oss'; export interface UploadConfig { uploadType: UploadType; formUrl: string; oss: { endpoint: string; bucket: string; dir: string; }; } export declare const uploadConfig: UploadConfig; export declare const getUploader: (uploadType?: UploadType, businessType?: string) => FormUploader | OssUploader; export declare const uploadImage: (file: File | Blob, options?: { uploadType?: UploadType; businessType?: string; onProgress?: (percentage: number) => void; }) => Promise; //# sourceMappingURL=upload-config.d.ts.map