import { BooleanInput } from '@angular/cdk/coercion'; import { Platform } from '@angular/cdk/platform'; import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core'; import { CanDestroyNotify, CanDestroyNotifyCtor } from '@mtna/lib-ui'; import { AnimationItem } from 'lottie-web'; import { MtnaLottieConfig } from './lottie-config.model'; import { LottieEventType } from './lottie-event-type.model'; import { AnimationConfigWithStuff } from './lottie-factory.model'; import * as i0 from "@angular/core"; declare const _LottieMixinBase: CanDestroyNotifyCtor; /** * @note inspired from https://github.com/ngx-lottie/ngx-lottie * TODO: may want to just use the ngx version or we need to update this component. */ export declare class MtnaLottieComponent extends _LottieMixinBase implements AfterViewInit, CanDestroyNotify, OnInit, OnDestroy { private platformId; private platform; private renderer; private ngZone; static ngAcceptInputType_hover: BooleanInput; lottieContainer: ElementRef; height: number | string; /** Whether to play animation on mouse hover */ get hover(): boolean; set hover(value: boolean); private _hover; optimize: boolean; options?: MtnaLottieConfig; width: number | string; DOMLoaded: EventEmitter; animationCreated: EventEmitter; complete: EventEmitter; configReady: EventEmitter; dataFailed: EventEmitter; dataReady: EventEmitter; destroy: EventEmitter; enterFrame: EventEmitter; loadedImages: EventEmitter; loopComplete: EventEmitter; segmentStart: EventEmitter; viewWidth?: string; viewHeight?: string; eventEmittersMap?: LottieEventType; observer?: IntersectionObserver; private _animationInstance?; constructor(platformId: string, platform: Platform, renderer: Renderer2, ngZone: NgZone); loadAnimation(options: AnimationConfigWithStuff): void; ngAfterViewInit(): void; ngOnDestroy(): void; ngOnInit(): void; private setLottie; private playAnimationOnlyWhenElementAppears; private initListeners; private onEventDetected; private lottieIeFixer; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};