import { type Container, type RecursivePartial } from "@tsparticles/engine"; import type { RibbonsFirstParam, RibbonsFunc } from "./types.js"; import type { IRibbonsOptions } from "./IRibbonsOptions.js"; declare global { var ribbons: RibbonsFunc & { create: (canvas?: HTMLCanvasElement | null, options?: RecursivePartial) => Promise; init: () => Promise; version: string; }; } export declare function ribbons(idOrOptions?: RibbonsFirstParam, ribbonsOptions?: RecursivePartial): Promise; export declare namespace ribbons { var create: (canvas?: HTMLCanvasElement | null, options?: RecursivePartial) => Promise; var init: () => Promise; var version: string; }