import { DownloadResult } from '../lib/types'; export default class StreamDownloadBuilder implements PromiseLike> { private downloadFn; private shouldThrowOnError; constructor(downloadFn: () => Promise, shouldThrowOnError: boolean); then, TResult2 = never>(onfulfilled?: ((value: DownloadResult) => TResult1 | PromiseLike) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null): Promise; private execute; } //# sourceMappingURL=StreamDownloadBuilder.d.ts.map