import { NativeModules } from 'react-native'; import {DeviceType, ConnectMode, ScanResult, ReadResult, OnNext, OnError, OnCompleted, OnSuccess, parseReadResult, parseScanResult, parseDeviceStatus} from './lib/ble-types' import {IObservable, Observable, scale, bpCuff, oximeter} from './lib/observables' import {scan, pair, stopScan} from './lib/ble-call-wrapper' const { RNNativeBleLibraryDerik } = NativeModules; export default RNNativeBleLibraryDerik; export { DeviceType, ConnectMode, parseReadResult, parseScanResult, parseDeviceStatus }; export type { ScanResult, ReadResult, OnNext, OnError, OnCompleted, OnSuccess }; export { Observable, scale, bpCuff, oximeter }; export type { IObservable }; export {scan, pair, stopScan}