/********************************************************************************** * (c) 2017, Nathan Walker. * Licensed under the MIT license. * * Version 1.0.0 walkerrunpdx@gmail.com **********************************************************************************/ import { Color } from '@nativescript/core'; import { LottieViewBase } from './lottie.common'; export declare class LottieView extends LottieViewBase { nativeViewProtected: CompatibleAnimationView; private _imageSourceAffectsLayout; createNativeView(): CompatibleAnimationView; initNativeView(): void; onLoaded(): void; setColor(value: Color, keyPath: string[]): void; setOpacity(value: number, keyPath: string[]): void; playAnimation(): void; playAnimationFromProgressToProgress(startProgress: number, endProgress: number): void; cancelAnimation(): void; isAnimating(): boolean; set speed(value: number); get speed(): number | undefined; get duration(): number | undefined; set contentMode(mode: any); onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void; private static computeScaleFactor; }