import { Direction, Directionality } from '@angular/cdk/bidi'; import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { BooleanInput, WtSafeAny } from 'ngx-wonton/core/types'; import { WtImageGroupComponent } from './image-group.component'; import { WtImageService } from './image.service'; import * as i0 from "@angular/core"; export declare type ImageStatusType = 'error' | 'loading' | 'normal'; export declare class WtImageDirective implements OnInit, OnChanges, OnDestroy { private document; private elementRef; private wtImageService; protected cdr: ChangeDetectorRef; private parentGroup; private directionality; static ngAcceptInputType_nzDisablePreview: BooleanInput; wtSrc: string; wtSrcset: string; wtDisablePreview: boolean; wtFallback: string | null; wtPlaceholder: string | null; dir?: Direction; backLoadImage: HTMLImageElement; status: ImageStatusType; private backLoadDestroy$; private destroy$; get previewable(): boolean; constructor(document: WtSafeAny, elementRef: ElementRef, wtImageService: WtImageService, cdr: ChangeDetectorRef, parentGroup: WtImageGroupComponent, directionality: Directionality); ngOnInit(): void; ngOnDestroy(): void; onPreview(): void; getElement(): ElementRef; ngOnChanges(changes: SimpleChanges): void; /** * use internal Image object handle fallback & placeholder * * @private */ private backLoad; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }