import { TextModel } from '../../model';
import { VariableCommunicator } from '../../communication';
import { ConditionalDynamicDisplayElement } from '../base/conditional-dynamic-display-element';
import { GraphStore, VariableStore } from '../../config';
import { LoggerService } from '../../logger';
import { Injector } from '@angular/core';
import { PermissionChecker, TextLibraryService, LanguageService } from '../../service';
import { GuiContext } from '../../gui/gui-context';
export declare class TextElement extends ConditionalDynamicDisplayElement {
    private readonly graphStore;
    private readonly textLibraryService?;
    private readonly languageService?;
    private readonly guiContext?;
    protected readonly model: TextModel;
    protected readonly logger: LoggerService;
    private languageChangeSubscription?;
    private textElementModal?;
    constructor(element: HTMLElement, injector: Injector, permissionChecker: PermissionChecker, variableCommunicator: VariableCommunicator, variableStore: VariableStore, graphStore: GraphStore, signalRAppId: string, textLibraryService?: TextLibraryService, languageService?: LanguageService, guiContext?: GuiContext);
    dispose(): void;
    /**
     * 订阅语种变化事件
     * 当设备的语种ID改变时，重新渲染文本
     */
    private subscribeLanguageChange;
    /**
     * 重新渲染文本
     */
    private reRenderText;
    /**
     * 获取显示文本
     * 如果配置了文本库，则从文本库中获取对应语种的文本
     * 否则返回默认文本
     */
    private getDisplayText;
    private handleTextValue;
    private initGraph;
}
