import { type FunnelCurveGenerator, type CurveOptions, type Point } from "./curve.types.js";
/**
 * This is a custom "linear" curve generator.
 * It draws straight lines for the 4 provided points,
 * with the option to properly handling the border radius.
 *
 * The implementation is based on the d3-shape linear curve generator.
 * https://github.com/d3/d3-shape/blob/a82254af78f08799c71d7ab25df557c4872a3c51/src/curve/linear.js
 */
export declare class Linear implements FunnelCurveGenerator {
  private context;
  private position;
  private sections;
  private isHorizontal;
  private isIncreasing;
  private gap;
  private borderRadius;
  private min;
  private max;
  private points;
  private pointShape;
  constructor(context: CanvasRenderingContext2D, {
    isHorizontal,
    gap,
    position,
    sections,
    borderRadius,
    min,
    max,
    isIncreasing,
    pointShape
  }: CurveOptions);
  areaStart(): void;
  areaEnd(): void;
  lineStart(): void;
  lineEnd(): void;
  protected getBorderRadius(): number | number[];
  processPoints(points: Point[]): Point[];
  point(xIn: number, yIn: number): void;
}