import { Selection } from 'd3-selection'; import { XYComponentCore } from '../../core/xy-component'; import { Spacing } from '../../types/spacing'; import { PlotbandConfigInterface } from './config'; import * as s from './style'; export declare class Plotband extends XYComponentCore> { static selectors: typeof s; protected _defaultConfig: PlotbandConfigInterface; from: number | null | undefined; to: number | null | undefined; plotband: Selection; labelGroup: Selection; label: Selection; constructor(config: PlotbandConfigInterface); /** Extra space required to fit the plotband label, which is otherwise clipped * when the plotband is drawn close to the edge of the chart. */ get bleed(): Spacing; _render(customDuration?: number): void; private _getLabelFontSize; /** The label's bounding box for the given layout, in the component's coordinate system */ private _getLabelBBox; /** 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; private _getBandRect; /** Band rect with its edges clamped to the scale range, or `null` if the band is fully out of view */ private _getVisibleBandRect; private _getLabelLayout; private computeLabel; }