/** * Defines the ImgSrcSet directive * Author: Stavros Katsoris */ import { ElementRef, Renderer2 } from '@angular/core'; import { AssetsStoreService } from '../services/assets-store.service'; import * as i0 from "@angular/core"; /** Set element's srcset attribute */ export declare class ImgSrcSetDirective { private readonly assetsStore; private readonly element; private readonly renderer; /** ImgSrcSet value to check against */ set imgSrcSet(value: string); get imgSrcSet(): string; /** ImgSrcSetMod value to check against */ set imgSrcSetMod(value: string); get imgSrcSetMod(): string; /** define local values */ private _imgSrcSet; private _imgSrcSetMod; /** Inject required providers */ constructor(assetsStore: AssetsStoreService, element: ElementRef, renderer: Renderer2); /** remove dooble spacing and nl from string */ private minifyString; /** Update element's srcset attribute with local imgSrcSet value */ private setSrcSet; /** Expect list's odd elements to be urls and update them with the assetsStore host url */ private updateSrcSetUrls; /** Return current element */ get image(): Element; static ɵfac: i0.ɵɵFactoryDef; static ɵdir: i0.ɵɵDirectiveDefWithMeta; } //# sourceMappingURL=img-src-set.directive.d.ts.map