import { File } from './file'; /** * Lottie data. */ export interface LottieData { file: File; loop: boolean; autoplay: boolean; } declare const Lottie_base: new (overrides?: Partial | undefined) => import("@diez/engine").Prefab & LottieData; /** * Provides an abstraction for [Lottie](https://airbnb.io/lottie/#/) animations. * * @noinheritdoc */ export declare class Lottie extends Lottie_base { defaults: { file: File; loop: boolean; autoplay: boolean; }; /** * Creates a Lottie component from a source file, e.g. * * `const lottie = Lottie.fromJson('assets/lottie-files/animation.json', true, true);` */ static fromJson(src: string, loop?: boolean, autoplay?: boolean): Lottie; } export {}; //# sourceMappingURL=lottie.d.ts.map