import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
import { Subscription } from 'rxjs';
import { ProtocolSelectedEvent } from '../api';
import { DeviceScanner } from '@iotize/tap/scanner/api';
import * as i0 from "@angular/core";
export declare class TapScannerWebBluetoothComponent implements OnInit, OnDestroy {
    scanner: DeviceScanner<any>;
    onProtocolSelected: EventEmitter<ProtocolSelectedEvent>;
    showScanButton: boolean;
    isScanning: boolean;
    isLoadingDevice: boolean;
    error?: Error;
    deviceSubscription?: Subscription;
    errorSubscription?: Subscription;
    constructor(scanner: DeviceScanner<any>);
    ngOnInit(): Promise<void>;
    ngOnDestroy(): void;
    startScan(): Promise<void>;
    onError(error: Error): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TapScannerWebBluetoothComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TapScannerWebBluetoothComponent, "tap-scanner-web-bluetooth", never, { "showScanButton": "showScanButton"; }, { "onProtocolSelected": "onProtocolSelected"; }, never, never, false, never>;
}
