import * as i0 from "@angular/core"; export declare class DownloadService { /** * Extracts the file name from a given URL. * @param url The file URL * @returns The file name */ getFileNameFromUrl(url: string): string; /** * Opens a given URL in a new browser tab and triggers download if possible. * @param url The file URL */ openNewTab(url: string): void; /** * Downloads a file from the browser using fetch and triggers a download dialog. * @param url The file URL */ downloadLinkFromBrowser(url: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }