import { AddAnimationParams, Result, ConvertParams, AnimationData, LottieManifest, LottieAsset } from './lottie-canvas.js'; import { Unzipped } from 'fflate'; declare function addAnimation({ configs, filename, generator, id, shouldDownload, src, }: AddAnimationParams): Promise; declare function convert({ animations: animationsFromProps, currentAnimation, filename: filenameFromProps, generator, isDotLottie, manifest, shouldDownload, src, typeCheck }: ConvertParams): Promise; interface CreateDotLottieProps { animations?: undefined | AnimationData[]; filename?: undefined | string; manifest?: undefined | LottieManifest; shouldDownload?: undefined | boolean; } declare function createDotLottie({ animations, filename, manifest, shouldDownload, }: CreateDotLottieProps): Promise; interface CreateJSONProps { animation?: undefined | AnimationData; filename?: undefined | string; shouldDownload?: undefined | boolean; } declare function createJSON({ animation, filename, shouldDownload, }: CreateJSONProps): string | null; declare function getAnimationData(input: unknown): Promise<{ animations?: undefined | AnimationData[]; manifest: LottieManifest | null; isDotLottie: boolean; }>; declare function getLottieJSON(resp: Response): Promise<{ data: AnimationData[]; manifest: LottieManifest; }>; declare function resolveAssets(unzipped?: Unzipped, assets?: LottieAsset[]): Promise; export { addAnimation, convert, createDotLottie, createJSON, getAnimationData, getLottieJSON, resolveAssets };