import type { DataPoint } from "@d3plus/data";
import type Viz from "../Viz.js";
/**
    Default label function for the legend.
    @private
*/
export declare function legendLabel(this: Viz, d: DataPoint, i: number): string;
/**
    Renders the legend if this._legend is not falsy.
    @private
*/
export default function (this: Viz, data?: DataPoint[]): void;
