import { Destroyable, IDestroyable } from 'destroyable'; import { Vector } from 'xyzt'; import { IParticleOptions } from './Particle'; export declare class DrawController extends Destroyable implements IDestroyable { deadParticlesCount: number; private readonly liveCtx; private readonly deadCtx; private readonly scene; private lastRenderNow; private readonly contexts; private readonly subscribers; constructor(quality: Vector, initialColor?: string); drawPoint(options: IParticleOptions): void; drawLine(options1: IParticleOptions, options2: IParticleOptions, segmentSize: number): void; get liveParticlesCount(): number; addContext(context: CanvasRenderingContext2D): void; subscribe(callback: () => void): void; private callSubscribers; private renderLoop; private render; destroy(): Promise; }