import { Container } from 'pixi.js'; import { FxInstance, FxPreset, FxRuntimeOptions } from './types'; export declare class FxRuntime { private instances; private pool; private random; private maxParticles; private activeCount; constructor(options?: { seed?: number; maxParticles?: number; }); preload(preset: FxPreset): Promise; spawn(container: Container, preset: FxPreset, options?: FxRuntimeOptions & { loop?: boolean; }): FxInstance; update(deltaMs: number): void; clear(): void; get activeInstances(): number; private updateInstance; /** * Keeps `space: 'world'` particles where they were emitted when the Fx container moves, * which turns a moving emitter into a trail. */ private compensateWorldSpace; private updateEmitter; private emitBursts; private isEmitterActive; private spawnParticle; private velocityAngle; private updateParticle; /** Rotates in the ground plane, then squashes vertically (scale → rotation → squash). */ private applyPerspective; private recycleParticle; private recycleInstance; } //# sourceMappingURL=runtime.d.ts.map