interface DotLottieAnimation { id: string; mode: string; direction: string; } interface DotLottieManifest { animations: DotLottieAnimation[]; author: string; description: string; name: string; version: string; generator: string; keywords: string[]; } interface LottieJsonAsset { id: string; u?: string; p?: string; e?: number; layers?: LottieJsonLayer[]; } interface LottieJsonLayer { ty: number; nm: string; ks: any; ao: number; ddd: number; ind: number; ip: number; op: number; refId?: string; } interface LottieJson { v: string; fr: number; ip: number; op: number; w: number; h: number; nm: string; ddd: number; assets: LottieJsonAsset[]; layers: LottieJsonLayer[]; markers: LottieJsonLayer[]; } declare function fetchLottie(url: string, fetchOptions?: object): Promise; export { type DotLottieAnimation, type DotLottieManifest, type LottieJson, type LottieJsonAsset, type LottieJsonLayer, fetchLottie };