import AbstractPackageTest from './AbstractPackageTest.js'; import { DeviceController } from '../impl/BiosensorDeviceFactory.js'; export interface SpyDeviceController extends DeviceController { getIsConnected(): boolean; getIsStreaming(): boolean; getDeviceId(): string; } export default abstract class AbstractDeviceControllerTest extends AbstractPackageTest { protected static instance: SpyDeviceController; protected static lastWarn: string; protected static readonly deviceId: string; protected static readonly xdfRecordPath: string; protected static beforeEach(): Promise; protected static assertCreatesInstance(): Promise; protected static assertStartsWithIsConnectedFalse(): Promise; protected static assertStartsWithIsStreamingFalse(): Promise; protected static assertConnectSetsIsConnectedTrue(): Promise; protected static assertStartStreamingSetsIsStreamingTrue(): Promise; protected static assertStopStreamingSetsIsStreamingFalse(): Promise; protected static assertDisconnectSetsIsConnectedFalse(): Promise; protected static assertDisconnectCallsStopStreaming(): Promise; protected static assertDisconnectDoesNotCallStopStreamingIfNotStreaming(): Promise; protected static assertConnectWarnsWithDeviceId(): Promise; protected static assertStartStreamingWarnsWithDeviceId(): Promise; protected static assertStopStreamingWarnsWithDeviceId(): Promise; protected static assertDisconnectWarnsWithDeviceId(): Promise; protected static assertCreatesXdfRecorderIfPassedPath(): Promise; protected static assertConnectStartsXdfRecorder(): Promise; protected static assertDisconnectFinishesXdfRecorder(): Promise; protected static connect(): Promise; protected static startStreaming(): Promise; protected static stopStreaming(): Promise; protected static disconnect(): Promise; protected static get isConnected(): boolean; protected static get isStreaming(): boolean; }