import { type Container, type ICoordinates, type IEffectDrawer, type IShapeDrawData, type IShapeValues, type Particle, type RangeValue } from "@tsparticles/engine"; export interface TrailStep { break: boolean; color: string | CanvasGradient | CanvasPattern; position: ICoordinates; transformData?: { a: number; b: number; c: number; d: number; }; } export interface ITrailData extends IShapeValues { fade?: boolean; length?: RangeValue; maxWidth?: RangeValue; minWidth?: RangeValue; transform?: boolean; } export type TrailParticle = Particle & { effectData?: ITrailData; trail?: TrailStep[]; trailFade?: boolean; trailLength?: number; trailMaxWidth?: number; trailMinWidth?: number; trailTransform?: boolean; }; export declare class TrailDrawer implements IEffectDrawer { private readonly _container; constructor(container: Container); drawAfter(data: IShapeDrawData): void; particleInit(container: Container, particle: TrailParticle): void; }