declare class Step { private _context; private _curve; private _line; private _x?; private _y?; private _point?; private _lastX?; private _lastY?; private _direction?; constructor(context: CanvasRenderingContext2D, curve: number, direction?: CurveDirection); /** * Initialize the area. */ areaStart(): void; /** * End the area. */ areaEnd(): void; /** * Start a new line. */ lineStart(): void; /** * End the current line. */ lineEnd(): void; /** * Add a point to the line. * @param x - The x-coordinate of the point. * @param y - The y-coordinate of the point. */ point(x: number, y: number): void; } type CurveDirection = "horizontal" | "vertical"; declare const _default: { (context: CanvasRenderingContext2D): Step; angle(angle: number, direction?: CurveDirection): /*elided*/ any; }; export default _default;