import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
import { CurrentDeviceService, PendingCallManager } from '@iotize/ionic';
import { AbstractVariable } from '@iotize/tap/data';
import { Observable } from 'rxjs';
export declare class ErrorContainerDirective {
    tpl: TemplateRef<any>;
    constructor(tpl: TemplateRef<any>);
}
export declare class TapVariableRangeComponent implements OnInit, OnDestroy {
    errorContainerDir: ErrorContainerDirective;
    set variable(variable: AbstractVariable<number> | undefined);
    editable: boolean;
    min: number;
    max: number;
    step: number;
    pin: boolean;
    snaps: boolean;
    ticks: boolean;
    debounce: number;
    showError: boolean;
    onError: EventEmitter<Error>;
    get loading(): boolean;
    get pending(): boolean;
    get errorContainerTemplate(): TemplateRef<any>;
    get errorContainerTemplateContext(): object;
    error?: Error;
    pendingCallManager: PendingCallManager;
    inputStream?: Observable<any>;
    _variable?: AbstractVariable<number>;
    constructor(tapService: CurrentDeviceService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    cancel(): void;
    onValueChanged(newValue: number): void;
    private _tryRestaureOldValue;
    private _onError;
}
