import { OnChanges, OnDestroy, ElementRef, SimpleChanges } from '@angular/core';
import { HttpClient, HttpResponse, HttpErrorResponse } from '@angular/common/http';
export declare class NcImageDirective implements OnChanges, OnDestroy {
    private _elementRef;
    private _http;
    ncUrl: string;
    ncUseXHR: boolean;
    ncHeaders: {
        [key: string]: any;
    };
    ncParams: {
        [key: string]: any;
    };
    ncWithCredentials: boolean;
    xhrResult: HttpResponse<Blob> | HttpErrorResponse;
    private readonly _image;
    private _xhrSubscription;
    constructor(_elementRef: ElementRef, _http: HttpClient);
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
}
