import type { RefObject } from "react"; import type { Container, ISourceOptions, Engine } from "tsparticles-engine"; import type { CSSProperties } from "react"; export interface IParticlesProps { id?: string; width?: string; height?: string; options?: ISourceOptions; params?: ISourceOptions; url?: string; style?: CSSProperties; className?: string; canvasClassName?: string; container?: RefObject; init?: (engine: Engine) => Promise; loaded?: (container?: Container) => Promise; }