import type { IParticlesOptions } from "./IParticlesOptions.js"; import type { ParticlesInstance } from "./ParticlesInstance.js"; import type { RecursivePartial } from "@tsparticles/engine"; export type ParticlesFunc = ((idOrOptions?: string | RecursivePartial, sourceOptions?: RecursivePartial) => Promise) & { version: string; };