import { type ICoordinates, type PluginManager, Vector } from "@tsparticles/engine"; import type { IPolygonMaskDrawStroke } from "./Options/Interfaces/IPolygonMaskDrawStroke.js"; import type { ISvgPath } from "./Interfaces/ISvgPath.js"; export declare function drawPolygonMask(pluginManager: PluginManager, context: OffscreenCanvasRenderingContext2D, rawData: ICoordinates[], stroke: IPolygonMaskDrawStroke, hdr?: boolean): void; export declare function drawPolygonMaskPath(pluginManager: PluginManager, context: OffscreenCanvasRenderingContext2D, path: Path2D, stroke: IPolygonMaskDrawStroke, position: ICoordinates, hdr?: boolean): void; export declare function parsePaths(paths: ISvgPath[], scale: number, offset: ICoordinates): ICoordinates[]; export declare function calcClosestPointOnSegment(s1: ICoordinates, s2: ICoordinates, pos: ICoordinates): ICoordinates & { isOnSegment: boolean; }; export declare function segmentBounce(start: ICoordinates, stop: ICoordinates, velocity: Vector): void;