import { CacheMessageItem } from '../harbor/base'; export type UploadArgs = { url: string; body?: FormData; }; export type DownloadArgs = { data: any; customDownload?: (data: CacheMessageItem[]) => void; filename: () => string; }; export declare const startUpload: ({ url, body }: UploadArgs) => Promise | null>; export declare const startDownload: ({ data, filename, customDownload, }: DownloadArgs) => Promise;