import { type FunnelCurveGenerator, type CurveOptions, type Point } from "./curve.types.js"; /** * This is a custom "bump" curve generator. * It draws smooth curves for the 4 provided points, * with the option to add a gap between sections while also properly handling the border radius. * * The implementation is based on the d3-shape bump curve generator. * https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/bump.js */ export declare class Bump implements FunnelCurveGenerator { private context; private isHorizontal; private min; private max; private points; constructor(context: CanvasRenderingContext2D, { isHorizontal, min, max, isIncreasing }: CurveOptions); areaStart(): void; areaEnd(): void; lineStart(): void; lineEnd(): void; processPoints(points: Point[]): Point[]; point(x: number, y: number): void; private drawPath; private drawHorizontalPath; private drawVerticalPath; }