import { Color, Sprite } from "three";
declare enum LabelAlignment {
    left = "left",
    center = "center",
    right = "right"
}
export type CharacterTooltipConfig = {
    alignment: LabelAlignment;
    fontSize: number;
    padding: number;
    color: Color;
    fontColor: Color;
    visibleOpacity: number;
    maxWidth?: number;
    secondsToFadeOut: number | null;
};
export declare class CharacterTooltip extends Sprite {
    private targetOpacity;
    private fadingSpeed;
    private config;
    private content;
    private hideTimeout;
    constructor(configArg?: Partial<CharacterTooltipConfig>);
    setHeightOffset(height: number): void;
    private redrawText;
    setText(text: string, onRemove?: () => void): void;
    hide(): void;
    show(): void;
    update(): void;
    dispose(): void;
}
export {};
