react-native-ble-nitro
Version:
High-performance React Native BLE library built on Nitro Modules - drop-in replacement for react-native-ble-plx
13 lines (12 loc) • 594 B
TypeScript
import type { BleManager as BleManagerInterface } from './specs/BleManager.nitro';
import type { BleManagerOptions } from './specs/types';
/**
* Creates a BleManager instance using Nitro Modules
* This function maintains compatibility with react-native-ble-plx's BleManager constructor
*/
export declare function createBleManager(options?: BleManagerOptions): BleManagerInterface;
/**
* Legacy compatibility: Export a BleManager constructor function
* This maintains compatibility with code that imports { BleManager } from 'react-native-ble-plx'
*/
export declare const BleManager: any;