import { Observable, BehaviorSubject } from 'rxjs';
import { DeviceScanner, DeviceScannerOptions } from '@iotize/tap/scanner/api';
export declare class TestingScanner<T> implements DeviceScanner<T> {
    scanning: BehaviorSubject<boolean>;
    private _results$;
    private _results;
    get isScanning(): boolean;
    get results(): Observable<T[]>;
    start(option?: DeviceScannerOptions): Promise<any>;
    stop(): Promise<any>;
    addResult(result: T): void;
    private clearResults;
}
