import { DecimalPipe } from '@angular/common';
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
import { CurrentDeviceService, InlineEditorComponent, PendingCallManager } from '@iotize/ionic';
import { VariableConfig } from '@iotize/tap/config/schema/v1';
import { AbstractVariable } from '@iotize/tap/data';
import { Observable } from 'rxjs';
export declare class MonitoringVariableValueComponent<ValueType = any> implements OnInit, OnDestroy {
    private changeDetectorRef;
    private decimalPipe;
    private tapService;
    lines?: string;
    unitValue: string;
    set error(err: Error);
    valuesStream?: Observable<ValueType>;
    pendingCallManager: PendingCallManager;
    pendingSubmitValue: any;
    forceValue: any;
    get pending(): boolean;
    set variable(v: AbstractVariable<ValueType>);
    set config(config: VariableConfig);
    inputOptions: InlineEditorComponent.InputOptions;
    editable: boolean;
    valueStyle?: string;
    /**
     * See digitsInfo doc on @{link https://angular.io/api/common/DecimalPipe#parameters}
     * Will be used only if value is a number
     */
    digitsInfo?: string;
    valueFormatting?: (value: ValueType) => ValueType;
    editMode: boolean;
    _variable?: AbstractVariable<ValueType>;
    fieldError?: Error;
    get loading(): boolean;
    private _loading;
    constructor(changeDetectorRef: ChangeDetectorRef, decimalPipe: DecimalPipe, tapService: CurrentDeviceService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    onCancelEdit(event: any): void;
    textOnRight: string;
    textOnLeft: string;
    onSubmit(newValue: any): void;
    onRefresh(_event: any): void;
    private startAction;
}
