import { OnInit, OnDestroy, NgZone, ElementRef } from '@angular/core'; import { Gallery, GalleryComponent } from 'ng-gallery'; import { Lightbox } from './lightbox.service'; import * as i0 from "@angular/core"; export declare class GallerizeDirective implements OnInit, OnDestroy { private _zone; private _el; private _gallery; private _lightbox; private _document; private _galleryCmp; /** Default gallery id */ private _galleryId; /** Gallerize mode */ private readonly _mode; /** If host element is a HTMLElement, will use the following variables: */ /** Stream that emits to fire the detection stream the image elements has changed */ private _observer$; /** Stream that emits when image is discover */ private _detector$; /** If host element is a GalleryComponent, will use the following variables: */ /** Gallery events (if used on a gallery component) */ private _itemClick$; private _itemChange$; /** If set, it will become the gallery id */ gallerize: string; /** The selector used to query images elements */ selector: string; constructor(_zone: NgZone, _el: ElementRef, _gallery: Gallery, _lightbox: Lightbox, _document: any, _galleryCmp: GalleryComponent); ngOnInit(): void; ngOnDestroy(): void; /** Gallery mode: means `gallerize` directive is used on `` component * Adds a click event to each gallery item so it opens in lightbox */ private galleryMode; /** Detector mode: means `gallerize` directive is used on a normal HTMLElement * Detects images and adds a click event to each image, so it opens in the lightbox */ private detectorMode; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }