import { ConfigService } from '@valtimo/config'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class DownloadService { private http; private configService; constructor(http: HttpClient, configService: ConfigService); downloadFile(url: string, name: string, forceDownload?: boolean): Observable; /** * A window.open won't work for blobs because ad blocker extensions will immediately * close the tab again. The method used below will prevent this from happening. */ private openBlobInNewTab; private openDownloadLink; private isFileTypeSupportedForNewWindow; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=download.service.d.ts.map