import * as i0 from '@angular/core'; import { OnDestroy, EventEmitter } from '@angular/core'; import { SafeResourceUrl } from '@angular/platform-browser'; declare class HsDownloadDirective implements OnDestroy { private domSanitizer; hsDownload: string; mimeType: string; downloadPrepared: EventEmitter; private exportedHref; private blobUrl; /** * Clean up any created object URLs when the directive is destroyed */ ngOnDestroy(): void; /** * Prepare the download URL only when the user clicks */ onClick(): void; /** * Creates the Blob and object URL for download */ prepareDownload(): void; /** * Cleanup resources to prevent memory leaks */ private cleanupResources; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export { HsDownloadDirective };