import * as _nuxt_schema from '@nuxt/schema'; import * as lottie_web from 'lottie-web'; /** * Lottie component props type */ interface _LottieProps { data: any; name: string; link: string; loop: boolean | number; autoplay: boolean; renderer: string; rendererSettings: any; width: number | string; height: number | string; speed: number; delay: number; direction: string; pauseOnHover: boolean; playOnHover: boolean; noMargin: boolean; scale: number; backgroundColor: string; pauseAnimation: boolean; assetsPath: string; onLoopComplete: () => void; onEnterFrame: () => void; onSegmentStart: () => void; onComplete: () => void; onAnimationLoaded: () => void; } /** * Public API for Lottie component instance methods */ interface _Lottie { play: () => void; pause: () => void; stop: () => void; destroy: () => void; setSpeed: (speed?: number) => void; setDirection: (direction: "forward" | "reverse") => void; goToAndStop: (frame: number, isFrame?: boolean) => void; goToAndPlay: (frame: number, isFrame?: boolean) => void; playSegments: (segments: AnimationSegment | AnimationSegment[], forceFlag?: boolean) => void; setSubFrame: (useSubFrame?: boolean) => void; getDuration: (inFrames?: boolean) => number | undefined; updateDocumentData: (documentData: any, index?: number) => void; } type Lottie = _Lottie; type LottieProps = _LottieProps; type AnimationItem = lottie_web.AnimationItem; type AnimationDirection = lottie_web.AnimationDirection; type AnimationSegment = lottie_web.AnimationSegment; type LottiePlayer = lottie_web.LottiePlayer; interface LottieDefaults { loop?: boolean | number; autoplay?: boolean; width?: number | string; height?: number | string; speed?: number; delay?: number; direction?: string; pauseOnHover?: boolean; playOnHover?: boolean; backgroundColor?: string; pauseAnimation?: boolean; noMargin?: boolean; scale?: number; renderer?: string; assetsPath?: string; } interface ModuleOptions { componentName?: string; lottieFolder?: string; autoFolderCreation?: boolean; enableLogs?: boolean; defaults?: LottieDefaults; } declare const _default: _nuxt_schema.NuxtModule; export { type AnimationDirection, type AnimationItem, type AnimationSegment, type Lottie, type LottieDefaults, type LottiePlayer, type LottieProps, type ModuleOptions, _default as default };