import type { DotLottie } from '@lottiefiles/dotlottie-web'; export type OpenLottie = { player: DotLottie; canvas: HTMLCanvasElement; }; export declare function closeLottie({ player, canvas }: OpenLottie): void; export declare function openLottie(url: string): Promise; export declare function getLottieSize(url: string): Promise<{ height: number; width: number; }>; export declare function getLottiePreview(url: string, size?: number): Promise;