/********************************************************************************** * (c) 2017, Brad Martin. * Licensed under the MIT license. * * Version 1.0.0 bradwaynemartin@gmail.com **********************************************************************************/ import { Color } from '@nativescript/core'; import { LottieViewBase } from './lottie.common'; export declare const RenderMode: { readonly AUTOMATIC: com.airbnb.lottie.RenderMode; readonly HARDWARE: com.airbnb.lottie.RenderMode; readonly SOFTWARE: com.airbnb.lottie.RenderMode; }; export declare class LottieView extends LottieViewBase { nativeViewProtected: com.airbnb.lottie.LottieAnimationView; createNativeView(): com.nativescript.lottie.LottieAnimationView; animatorListener: android.animation.Animator.AnimatorListener; loadedListener: com.airbnb.lottie.LottieOnCompositionLoadedListener; _completionBlock: any; get completionBlock(): any; set completionBlock(block: any); initNativeView(): void; disposeNativeView(): void; setColor(value: Color | string, keyPath: string[]): void; setOpacity(value: number, keyPath: string[]): void; playAnimation(): void; playAnimationFromProgressToProgress(startProgress: number, endProgress: number): void; isAnimating(): boolean; get speed(): number | undefined; set speed(value: number); get duration(): number | undefined; cancelAnimation(): void; }