import { AnimationLoadedEventData } from '../..'; export interface AnimationLoadedEventData { animation: AnimationItemT; } export interface AnimationLoader { load(config: ConfigT, callback: (d: AnimationLoadedEventData) => void): AnimationItemT; } export interface AnimationConfigCreator { createWithSrc(container: HTMLDivElement, src: string | false, autoplay: string | boolean, loop: string | boolean): ConfigT; createWithData(container: HTMLDivElement, data: object | string | false, autoplay: string | boolean, loop: string | boolean): ConfigT; }