import { Destroyable, IDestroyable } from 'destroyable'; import { Vector } from 'xyzt'; import { Particle } from './Particle'; export declare class Scene extends Destroyable implements IDestroyable { private readonly ctx; particles: Particle[]; constructor(ctx: CanvasRenderingContext2D); addObject(object: Particle): void; render(): void; update(delta: number): Particle[]; get size(): Vector; destroy(): Promise; }