/// /*************************************************** This is a React WebApp written to Flash an ESP32 via BLE Written by Andrew England (SparkFun) BSD license, all text above must be included in any redistribution. *****************************************************/ import { Device } from "./Device"; import { DeviceConfig } from '../types/Devices.types'; export declare class Bluetooth extends Device { source?: BluetoothDevice; characteristics: { [x: string]: BluetoothRemoteGATTCharacteristic; }; server?: BluetoothRemoteGATTServer; service?: BluetoothRemoteGATTService; transmitCharacteristic?: BluetoothRemoteGATTCharacteristic; constructor(constraints: DeviceConfig | DeviceConfig[]); connect: () => Promise; _disconnect: () => Promise; send: (msg: any, charName: any) => Promise; onnotification: (e: any, charName: string) => void; connectCharacteristic: (name: string, value: any) => Promise; }