import { ElementRef, OnInit, Renderer } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ObjectWithLinks } from '../services'; export declare class ApiImageDirective implements OnInit { private el; private renderer; private http; /** URL for the image */ url: string; /** In case of mutiple images. Whitch image to to shown */ position: number; /** Object to extract the image */ item: ObjectWithLinks; /** Property name for the image */ property: string; /** Defaut image */ private defaultImage; constructor(el: ElementRef, renderer: Renderer, http: HttpClient); ngOnInit(): void; private updateElemnet(); private getUrl(); private getFileUrl(fileName); }