import type { DataPoint } from "@d3plus/data";
import type { AccessorFn } from "../utils/index.js";
import Shape, { type ShapeAes } from "./Shape.js";
/**
    Creates SVG Paths based on an array of data.
*/
export default class Path extends Shape {
    _d: AccessorFn;
    _labelBounds: ((d: DataPoint, i: number, aes: ShapeAes) => Record<string, unknown> | null | false) | null;
    _name: string;
    _labelConfig: Record<string, unknown>;
    /**
        Invoked when creating a new class instance, and overrides any default parameters inherited from Shape.
        @private
  */
    constructor();
    /**
        Given a specific data point and index, returns the aesthetic properties of the shape.
        @param data point*
        @param index @private
  */
    _aes(d: DataPoint, i: number): ShapeAes;
    /**
        Draws the paths.
      @param callback Optional callback invoked after rendering completes.
  */
    render(callback?: () => void): this;
    /**
        The "d" attribute.
  
  @example
  function(d) {
    return d.path;
  }
  */
    d(): AccessorFn;
    d(_: AccessorFn | string): this;
}
