/** * Testing & on-device-demo entry point. * * Imported via the package subpath: * * import {InMemorySerialTransport, installInMemorySerialTransport} * from 'react-native-web-serial-api/testing'; * * These are reusable building blocks for *consumers'* tests and demos — an * in-memory transport and an authorable `SimulatedDevice` peripheral model — so * they ship with the package. The library's own spec-compliance suite is NOT * here: it lives in `src/__tests__/conformance-suite.ts` (test-only, excluded * from the build and the published package). None of this is in the main bundle. */ export type { SerialTransport } from '../transport'; export { getUsbSerial, resetUsbSerial, setUsbSerial } from '../UsbSerial'; export type { DeviceFixtureOptions, MountedDeviceFixture, MountedDeviceFixtures, } from './device-fixture'; export { createDeviceFixture } from './device-fixture'; export type { ExposedDevice, ExposeSimulatedDeviceOptions, WebSocketServerCtor, WebSocketServerLike, } from './expose'; export { exposeSimulatedDevice } from './expose'; export type { ByteReader, RejectionExpectation } from './harness'; export { assert, assertEqual, assertRejects, bytesEqual, errorMessage, readBytes, withTimeout, } from './harness'; export type { DeviceOptions, FailableOp, InMemorySerialTransportOptions, } from './in-memory-serial-transport'; export { DeviceHandle, InMemorySerialTransport, } from './in-memory-serial-transport'; export type { InstallInMemorySerialTransportOptions, SimulatedTransportDevice, } from './install-in-memory-serial-transport'; export { installInMemorySerialTransport } from './install-in-memory-serial-transport'; export type { ReadOptions, SerialClientOptions } from './serial-client'; export { createSerialClient, SerialClient, } from './serial-client'; export type { HostSignals, SerialInputSignals, SimulatedDeviceHost, SimulatedDeviceIdentity, SimulatedDeviceOpenOptions, } from './simulated-device'; export { LineBufferedDevice, LoopbackDevice, SimulatedDevice, SinkDevice, } from './simulated-device'; export type { RunTestSuiteOptions, SerialTest, SerialTestProgress, SerialTestResult, TestClient, } from './test-suite'; export { compareTestResults, runTestSuite } from './test-suite'; //# sourceMappingURL=index.d.ts.map