import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
import { IonToggle } from '@ionic/angular';
import { TapValueEditorContainerComponent } from '@iotize/ionic';
import { EditableValueDataStreamInterface } from '@iotize/tap/data';
import { Subscription } from 'rxjs';
import * as i0 from "@angular/core";
export declare class TapVariableToggleComponent implements AfterViewInit, OnDestroy {
    private changeDetectorRef;
    toggle: IonToggle;
    ctx: TapValueEditorContainerComponent;
    error?: Error;
    textOnLeft: string;
    textOnRight: string;
    lines: string;
    inputOptions: {
        type: string;
    };
    variable?: EditableValueDataStreamInterface<number, any>;
    editable: boolean;
    valueOn: number;
    valueOff: number;
    _valueSub?: Subscription;
    private _lastValueDisplayed?;
    constructor(changeDetectorRef: ChangeDetectorRef);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    switchToggle(): void;
    onValueChange(event: CustomEvent<{
        value: string;
        checked: boolean;
    }>): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableToggleComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableToggleComponent, "tap-variable-toggle", never, { "textOnLeft": "textOnLeft"; "textOnRight": "textOnRight"; "lines": "lines"; "variable": "variable"; "editable": "editable"; "valueOn": "valueOn"; "valueOff": "valueOff"; }, {}, never, never>;
}
