import { ChangeDetectorRef, OnDestroy } from '@angular/core';
import { CurrentDeviceService, PendingCallManager } from '@iotize/ionic';
import { AbstractVariable } from '@iotize/tap/data';
import { Observable, Subscription } from 'rxjs';
import * as i0 from "@angular/core";
export interface PictureData {
    index: number;
    src: string;
}
export declare class TapVariableSwitchPictureComponent implements OnDestroy {
    private changeDetectorRef;
    state: number;
    currentSrc?: string;
    subscription?: Subscription;
    pendingCallManager: PendingCallManager;
    pendingSubmitValue: any;
    error?: Error;
    loaded: boolean;
    _variable?: AbstractVariable<any>;
    set fieldError(err: Error);
    get pending(): boolean;
    pictures: PictureData[];
    stateText: string;
    editable?: boolean;
    set variable(variable: AbstractVariable<any | any[]> | undefined);
    set inputStream(inputs: Observable<any>);
    constructor(changeDetectorRef: ChangeDetectorRef, tapService: CurrentDeviceService);
    ngOnDestroy(): void;
    switchPicture(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableSwitchPictureComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableSwitchPictureComponent, "tap-variable-switch-picture", never, { "fieldError": "fieldError"; "pictures": "pictures"; "stateText": "stateText"; "editable": "editable"; "variable": "variable"; "inputStream": "inputStream"; }, {}, never, never, false>;
}
