import { Selection } from 'd3-selection'; import { XYComponentCore } from '../../core/xy-component'; import { Spacing } from '../../types/spacing'; import { PlotlineConfigInterface } from './config'; import * as s from './style'; export declare class Plotline extends XYComponentCore> { static selectors: typeof s; protected _defaultConfig: PlotlineConfigInterface; value: number | null | undefined; plotline: Selection; labelGroup: Selection; label: Selection; constructor(config: PlotlineConfigInterface); /** Extra space required to fit the plotline label, which is otherwise clipped * when the plotline is drawn close to the edge of the chart. */ get bleed(): Spacing; _render(customDuration?: number): void; private _isValueWithinDomain; private _getLineCoordinates; private _getLabelFontSize; /** The label as text blocks, used for both rendering and size estimation. The config-level * label options and CSS values act as defaults: values set on a text block take priority */ private _getLabelTextBlocks; /** The label's bounding box for the given layout, in the component's coordinate system */ private _getLabelBBox; private _getLabelLayout; private computeLabel; }