@tsparticles/plugin-export-image
Version:
tsParticles export image plugin
9 lines (8 loc) • 400 B
TypeScript
import type { Container, Engine, ExportResult, IContainerPlugin } from "@tsparticles/engine";
export declare class ExportImageInstance implements IContainerPlugin {
private readonly _container;
private readonly _engine;
constructor(container: Container, engine: Engine);
export(type: string, data: Record<string, unknown>): Promise<ExportResult>;
private readonly _exportImage;
}