import { ChangeDetectorRef, AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import * as PhotoSwipe from 'photoswipe'; import * as i0 from "@angular/core"; export declare class ImagePreviewComponent implements AfterViewInit, OnChanges { private cd; rhVisible: boolean; rhVisibleChange: EventEmitter; rhIndex: number; rhItemDatasource: PhotoSwipe.Item[]; /** 是否显示全屏按钮 */ rhShowFullScreen: boolean; /** 是否显示分享按钮 */ rhShowShare: boolean; defaultOption: any; gallery: PhotoSwipe; constructor(cd: ChangeDetectorRef); ngAfterViewInit(): Promise; ngOnChanges(changes: SimpleChanges): Promise; initOption(): { history: boolean; focus: boolean; showAnimationDuration: number; hideAnimationDuration: number; }; initGallery(images?: PhotoSwipe.Item[], options?: any): PhotoSwipe; open(): void; close(): void; private getImageSizeInfo; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }