import { DeviceError } from "../device.js"; /** * Maps BLE errors from @capacitor-community/bluetooth-le (and Web Bluetooth) * to DeviceError with an appropriate code. */ export declare const mapBleError: (e: unknown) => DeviceError; /** * Wraps an async operation so that any BLE error is mapped to a DeviceError. */ export declare function withBleErrorMapping(fn: () => Promise): Promise;