import { Point } from "../../../../Core/Point";
import { EDataLabelProviderType } from "../../../../types/DataLabelProviderType";
import { TDataLabelStyle } from "../../../../types/TDataLabelStyle";
import { EHorizontalTextPosition, EVerticalTextPosition } from "../../../../types/TextPosition";
import { SCRTDoubleVector, TSRTextBounds } from "../../../../types/TSciChart";
import { WebGlRenderContext2D } from "../../../Drawing/WebGlRenderContext2D";
import { RenderPassData } from "../../../Services/RenderPassData";
import { IRenderableSeries } from "../IRenderableSeries";
import { DataLabelProvider, IDataLabelProviderOptions } from "./DataLabelProvider";
import { DataLabelState } from "./DataLabelState";
import { RectangleDataLabelState } from "./RectangleDataLabelState";
export interface IRectangleSeriesDataLabelProviderOptions extends IDataLabelProviderOptions {
    /** Not used for FastRectangleRenderableSeries */
    horizontalTextPosition?: EHorizontalTextPosition;
    /** Not used for FastRectangleRenderableSeries */
    verticalTextPosition?: EVerticalTextPosition;
}
export declare class RectangleSeriesDataLabelProvider extends DataLabelProvider {
    readonly type: EDataLabelProviderType;
    constructor(options?: IRectangleSeriesDataLabelProviderOptions);
    /** @inheritDoc */
    getDataLabelState(renderContext: WebGlRenderContext2D, renderPassData: RenderPassData, style: TDataLabelStyle, color: string, yValues: SCRTDoubleVector, parentSeries: IRenderableSeries): DataLabelState;
    /** @inheritDoc */
    getPosition(state: RectangleDataLabelState, textBounds: TSRTextBounds): {
        position: Point;
        rotationCenter: Point;
        rotationAngle: number;
    };
    /** @inheritDoc */
    toJSON(): {
        type: EDataLabelProviderType;
        options: {
            style: TDataLabelStyle;
            color: string;
        };
    };
}
