import React from 'react'; import type { AnimationConfig, AnimationItem } from 'lottie-web'; export interface LottieProps extends Omit { path?: string; animationData?: any; mode?: 'default' | 'icon'; loop?: boolean; speed?: number; className?: string; style?: React.CSSProperties; } export interface LottieRef { animation?: AnimationItem; } declare const Lottie: React.ForwardRefExoticComponent>; export default Lottie;