import { FileType } from './upload'; interface ClientOptions { serverUrl?: string; apiKey: string; fileType?: FileType; autoId?: boolean; } declare const uploadFactory: (options?: ClientOptions) => (file: string | Blob, imageId?: string | undefined, mime?: string | undefined) => Promise; export default uploadFactory;