import { Canvas } from "./Canvas"; import type { IRepulse } from "../Interfaces/IRepulse"; import type { IBubble } from "../Interfaces/IBubble"; import type { IImage } from "../Interfaces/IImage"; import type { IContainerInteractivity } from "../Interfaces/IContainerInteractivity"; import { Particles } from "./Particles"; import { Retina } from "./Retina"; import { PolygonMask } from "./PolygonMask"; import type { IOptions } from "../Interfaces/Options/IOptions"; import { FrameManager } from "./FrameManager"; import type { RecursivePartial } from "../Types/RecursivePartial"; import { Options } from "./Options/Options"; import { Emitter } from "./Emitter"; import { Absorber } from "./Absorber"; export declare class Container { readonly sourceOptions?: RecursivePartial; readonly id: string; interactivity: IContainerInteractivity; options: Options; retina: Retina; canvas: Canvas; particles: Particles; emitters: Emitter[]; absorbers: Absorber[]; polygon: PolygonMask; bubble: IBubble; repulse: IRepulse; images: IImage[]; lastFrameTime: number; pageHidden: boolean; drawer: FrameManager; started: boolean; destroyed: boolean; private paused; private drawAnimationFrame?; private eventListeners; constructor(id: string, params?: RecursivePartial, ...presets: string[]); static requestFrame(callback: FrameRequestCallback): number; static cancelAnimation(handle: number): void; play(): void; pause(): void; densityAutoParticles(): void; destroy(): void; exportImg(callback: BlobCallback): void; exportImage(callback: BlobCallback, type?: string, quality?: number): void; exportConfiguration(): string; refresh(): Promise; stop(): void; start(): Promise; private loadImageShape; private init; }