import type { DataPoint } from "@d3plus/data";
import type { D3Selection } from "@d3plus/dom";
import type { AccessorFn } from "../utils/index.js";
import Shape, { type ShapeAes } from "./Shape.js";
/**
    Creates SVG circles based on an array of data.
*/
export default class Circle extends Shape {
    _labelBounds: ((d: DataPoint, i: number, aes: ShapeAes) => Record<string, unknown> | null | false) | null;
    _labelConfig: Record<string, unknown>;
    _name: string;
    _r: AccessorFn;
    /**
        Invoked when creating a new class instance, and overrides any default parameters inherited from Shape.
        @private
  */
    constructor();
    /**
        Provides the default positioning to the <rect> elements.
        @private
  */
    _applyPosition(elem: D3Selection): void;
    /**
        Draws the circles.
      @param callback Optional callback invoked after rendering completes.
  */
    render(callback?: () => void): this;
    /**
        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;
    /**
        The radius accessor for each circle.
  
  @example
  function(d) {
    return d.r;
  }
  */
    r(): AccessorFn;
    r(_: AccessorFn | number): this;
}
