import { ElementRef, OnDestroy } from '@angular/core'; import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'; import { BrowserRef } from '../services/browser-ref'; import * as i0 from "@angular/core"; export declare class SrcLazyDirective implements OnDestroy { private el; private srcLazyService; private ref; constructor(el: ElementRef, srcLazyService: SrcLazyService); set srcLazy(src: string | SafeResourceUrl); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export interface SrcLazyElement { el: ElementRef; src: string | SafeResourceUrl; } export declare class SrcLazyService { private sanitize; private browserRef; private ob; private refs; constructor(sanitize: DomSanitizer, browserRef: BrowserRef); add(srcEl: SrcLazyElement): void; del(srcEl: SrcLazyElement): void; private setSrc; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }