import { OnInit } from '@angular/core';
import { Localization } from '../../localization';
import { NumericalOperation } from '../../model/numerical-display/numerical-operation';
import { DataTypeService } from '../../utils/data-type/data-type.service';
import { FractionDigitService } from '../../utils/fraction-digit.service';
import { NumericalOperationService } from '../../utils/numerical-operation.service';
import { WriteValueModalArgs } from './write-value-modal-args';
import { BsModalRef } from 'ngx-bootstrap/modal';
export declare class WriteValueModalComponent implements OnInit {
    localization: Localization;
    private readonly dataTypeService;
    private readonly fractionDigitService;
    private readonly numericalOperationService;
    private readonly bsModalRef;
    onClosed: any;
    args: WriteValueModalArgs;
    private dataType;
    private fBoxDataType;
    private pattern;
    private fractionDigits;
    private integerDigits;
    private numericalLowerLimit;
    private numericalUpperLimit;
    private maxValueLimit;
    private minValueLimit;
    value: string;
    valueType: string;
    variableName: string;
    enableNumericalOperation: boolean;
    isNumericalOperation: boolean;
    numericalOperation: NumericalOperation;
    validationError: boolean;
    validationErrorText: string;
    writeMinValue: number;
    writeMaxValue: number;
    writeValueRangeText: string;
    isSubmitting: boolean;
    get invalidErrorText(): string;
    constructor(localization: Localization, dataTypeService: DataTypeService, fractionDigitService: FractionDigitService, numericalOperationService: NumericalOperationService, bsModalRef: BsModalRef);
    ngOnInit(): void;
    initData(option: WriteValueModalArgs): void;
    private setValueRangeAccordToDataParsed;
    getWriteValueRangeText(): string;
    save(): void;
    close(): void;
    validate(event?: any): void;
    private showValidationErrorInfo;
    private hideValidationErrorInfo;
    private getFractionDigits;
    /**
     * 格式化写入的值
     * 因为有小数点的数值类型，会被按照小数点位数移位，所以需要在修改前右移小数点位数
     */
    private formatWriteValue;
}
