import { Injector } from '@angular/core';
import { BsModalService } from 'ngx-bootstrap/modal';
import { GraphStore, VariableStore } from '../../config';
import { Localization } from '../../localization';
import { NumericalDisplay } from '../../model';
import { PermissionChecker, OperationRecordService, ReleasedVariableService } from '../../service';
import { VariableCommunicator, VariableValue } from '../../communication';
import { ReadableElement } from '../base/readable-element';
import { SecurityChecker } from '../../security';
import { GuiContext } from '../../gui/gui-context';
export declare class NumericalDisplayElement extends ReadableElement {
    private readonly modalService;
    private readonly graphStore;
    private readonly operationRecordService;
    private readonly releasedVariableService;
    private readonly securityChecker;
    private readonly guiContext?;
    private readonly dataTypeService;
    private readonly fractionDigitService;
    private readonly accessPermissionService;
    private readonly numericalOperationService;
    readonly model: NumericalDisplay;
    private displayText;
    private readonly logger;
    private displayForeignObject;
    private enableDataParsed;
    private writeValueMmodalRef;
    private recordValue;
    private showValue;
    private numericalOperation;
    private restorationTimer;
    get writeVariableName(): string;
    constructor(element: HTMLElement, injector: Injector, modalService: BsModalService, permissionChecker: PermissionChecker, variableCommunicator: VariableCommunicator, graphStore: GraphStore, operationRecordService: OperationRecordService, releasedVariableService: ReleasedVariableService, securityChecker: SecurityChecker, variableStore: VariableStore, localization: Localization, signalRAppId: string, guiContext?: GuiContext);
    dispose(): void;
    /**
     * 重写父类方法，处理"当前语种ID"系统变量
     * 当值为null时，显示默认语种ID
     */
    reportValueChanged(value: VariableValue): void;
    initElement(): any;
    private checkElementPassword;
    private initVariableText;
    private initGraphAndText;
    private doWriteValue;
    private recordOperation;
    changeStates(): void;
    protected updateVariableValue(value: number): void;
    private updateDisplayText;
    private rebuildTextElement;
    private formatNumericalDisplayText;
    private formatFloatDisplayText;
    private isNumeric;
    private formatDisplayTextUnit;
}
