import { type Container, type ISourceOptions, tsParticles } from "@tsparticles/engine"; export type ParticlesPluginRegistrar = (engine: typeof tsParticles) => Promise | void; type ParticlesResult = { load: (options: ISourceOptions) => Promise; ajax: (jsonUrl: string) => Promise; setTheme: (theme: string) => Promise; }; type StaticParticlesResult = { init: (init?: ParticlesPluginRegistrar) => Promise; }; export type IParticlesProps = ISourceOptions; declare global { interface JQueryStatic { particles: () => StaticParticlesResult; } interface JQuery { particles: () => ParticlesResult; } } export {};