import type { ISourceOptions, Container } from "tsparticles-engine"; type ParticlesResult = { init: (options: ISourceOptions, callback: (container: Container | undefined) => Promise) => void; ajax: (jsonUrl: string, callback: (container: Container | undefined) => Promise) => void; }; export type IParticlesProps = ISourceOptions; declare global { interface JQuery { particles: () => ParticlesResult; } } export {};