import { DownloadOptions, TransferSpec } from '../models/models'; /** * Start a HTTP Gateway download. Progress is not provided on downloads, browser handles download directly * When in software mode the promise will return transfer_spec_id and the URL. The URL has not been used * therefore a client can open it and start the download using software specific methods (like file reader). * * @param transferSpec standard Connect transferSpec for downloading * * @returns a promise that resolves if download is started successfully or rejects if error occurs */ export declare const download: (transferSpec: TransferSpec, options?: DownloadOptions) => Promise; declare const _default: { download: (transferSpec: TransferSpec, options?: DownloadOptions) => Promise; }; export default _default;