import { Vector3 } from '../types/Math';
import type { SettingsController } from '../controllers/SettingsController';
import { CssColor } from '../components/Markup/SvgRenderer';
import './styles.css';
export type DistanceLine = {
    start: Vector3;
    end: Vector3;
};
export declare class DistanceLabel {
    element: HTMLElement;
    midpoint: THREE.Vector3;
    private readonly line;
    private readonly settingsController;
    private readonly bimMeasureLabel;
    private readonly labelElement;
    private readonly prependLabel;
    constructor(params: {
        line: DistanceLine;
        settingsController: SettingsController;
        iconCssClass: string | undefined;
        prependLabel?: string;
        backgroundColor?: CssColor;
        textColor?: CssColor;
    });
    show(): void;
    hide(): void;
    remove(): void;
    calculateRectFromPosition(params: {
        x: number;
        y: number;
    }): {
        top: number;
        left: number;
        right: number;
        bottom: number;
    };
    updateLine(line: DistanceLine): void;
    updateLabel(): void;
    setPosition(params: {
        x: number;
        y: number;
    }): void;
}
