export declare class AbstractTextElement {
    private container;
    textBlock: any;
    LINE_DISTANCE: number;
    CSS_CLASSES: {
        default: string;
        subtext: string;
        instanceCount: string;
    };
    DARK_TEXT_COLOR: string;
    LIGHT_TEXT_COLOR: string;
    constructor(container: any, backgroundColor: any);
    private _getTextColor;
    translation: (x: any, y: any) => this;
    remove: () => this;
    _applyPreAndPostFix(text: any, prefix: any, postfix: any): any;
    calculateLuminance(color: any): number;
}
