import { Selection } from 'd3-selection'; import { ColorFunction } from '../../../types/accessor'; import { ContinuousScale } from '../../../types/scale'; import { XYLabelsConfigInterface } from '../config'; import { XYLabel, XYLabelCluster, XYLabelPositioning, XYLabelRenderProps } from '../types'; export declare function createLabels(selection: Selection | XYLabelCluster, any, any>): void; export declare function updateLabels(selection: Selection | XYLabelCluster, any, any>, config: XYLabelsConfigInterface, duration: number): void; export declare function removeLabels(selection: Selection | XYLabelCluster, any, any>, duration: number): void; export declare function getLabelPosition(value: number, positioning: XYLabelPositioning, scale: ContinuousScale): number; export declare function getLabelRenderProps(data: Datum | XYLabel[], el: SVGGraphicsElement, config: XYLabelsConfigInterface, xScale: ContinuousScale, yScale: ContinuousScale, index?: number, colorFunction?: ColorFunction): XYLabelRenderProps;