import { RecursivePartial } from "./Types/RecursivePartial"; import { IOptions } from "./Options/Interfaces/IOptions"; import { Container } from "./Core/Container"; import { IShapeDrawer } from "./Core/Interfaces/IShapeDrawer"; import { ShapeDrawerAfterEffectFunction, ShapeDrawerDestroyFunction, ShapeDrawerDrawFunction, ShapeDrawerInitFunction } from "./Types/ShapeDrawerFunctions"; import { IPlugin } from "./Core/Interfaces/IPlugin"; declare global { interface Window { customRequestAnimationFrame: (callback: FrameRequestCallback) => number; mozRequestAnimationFrame: (callback: FrameRequestCallback) => number; oRequestAnimationFrame: (callback: FrameRequestCallback) => number; msRequestAnimationFrame: (callback: FrameRequestCallback) => number; customCancelRequestAnimationFrame: (handle: number) => void; webkitCancelRequestAnimationFrame: (handle: number) => void; mozCancelRequestAnimationFrame: (handle: number) => void; oCancelRequestAnimationFrame: (handle: number) => void; msCancelRequestAnimationFrame: (handle: number) => void; } } export declare class MainSlim { private initialized; constructor(); init(): void; loadFromArray(tagId: string, params: RecursivePartial[], index?: number): Promise; load(tagId: string, params: RecursivePartial): Promise; loadJSON(tagId: string, pathConfigJson: string): Promise; setOnClickHandler(callback: EventListenerOrEventListenerObject): void; dom(): Container[]; domItem(index: number): Container | undefined; addShape(shape: string, drawer: IShapeDrawer | ShapeDrawerDrawFunction, init?: ShapeDrawerInitFunction, afterEffect?: ShapeDrawerAfterEffectFunction, destroy?: ShapeDrawerDestroyFunction): void; addPreset(preset: string, options: RecursivePartial): void; addPlugin(plugin: IPlugin): void; }