import type { GradientType, IParticleHslAnimation, IParticleNumericValueAnimation, IParticlesOptions, Particle, ParticlesOptions, SingleOrMultiple } from "@tsparticles/engine"; import type { AnimatableGradient } from "./Options/Classes/AnimatableGradient.js"; import type { IAnimatableGradient } from "./Options/Interfaces/IAnimatableGradient.js"; export interface IParticleGradientColorAnimation { opacity?: IParticleNumericValueAnimation; stop: number; value: IParticleHslAnimation; } export interface IParticleGradientAnimation { angle: IParticleNumericValueAnimation; colors: IParticleGradientColorAnimation[]; type: GradientType; } export type GradientParticle = Particle & { gradient?: IParticleGradientAnimation; options: GradientParticlesOptions; }; export type IGradientParticlesOptions = IParticlesOptions & { gradient?: SingleOrMultiple; }; export type GradientParticlesOptions = ParticlesOptions & { gradient?: SingleOrMultiple; };