import { Module, ModuleObject } from "../module"; import { Particle } from "../particle"; import { ParticleEffect } from "../particleEffect"; import { Range } from "../types"; /** * @module * @category Initializer * randomX { * @tooltip TODO * @type Range * @defaultValue { "min": -100, "max": 100 } * @step 10 * } * randomY { * @tooltip TODO * @type Range * @defaultValue { "min": -100, "max": 100 } * @step 10 * } */ export declare class RandomVelocity extends Module { randomX: Range; randomY: Range; init(): void; handleParticleAdd: (particle: Particle) => void; /** * Wrap the properties of the module into a JSON containing only primitive JavaScript data types * (such as numbers, strings, etc.) that can be serialized into strings natively. */ toObject(): ModuleObject; static fromObject(particleEffect: ParticleEffect, object: ModuleObject, hideWarnings: boolean): RandomVelocity; /** * Serializable identifier for the module. * * This must be unique between all existing Modules in the library. */ static moduleTypeId: string; }