import { EventEmitter } from '@angular/core';
import { HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
export declare class DownloadDirective {
    downloader: Observable<HttpEvent<Blob>>;
    filename: string;
    ext: string;
    mime: string;
    endings: EndingType;
    uiLoadStartBefore: EventEmitter<void>;
    uiLoadingStart: EventEmitter<void>;
    uiLoading: EventEmitter<number>;
    uiLoaded: EventEmitter<void>;
    uiLoadError: EventEmitter<Error>;
    download(): void;
}
