/** * Discovery types * Types for device discovery */ export declare const EVENT_DEVICE_ALREADY_PAIRED = "EVENT_DEVICE_ALREADY_PAIRED"; export declare const EVENT_DEVICE_FOUND = "EVENT_DEVICE_FOUND"; export declare const EVENT_DEVICE_DISCOVER_DONE = "EVENT_DEVICE_DISCOVER_DONE"; export declare const EVENT_BLUETOOTH_NOT_SUPPORT = "EVENT_BLUETOOTH_NOT_SUPPORT"; export type DiscoveryEventType = typeof EVENT_DEVICE_ALREADY_PAIRED | typeof EVENT_DEVICE_FOUND | typeof EVENT_DEVICE_DISCOVER_DONE | typeof EVENT_BLUETOOTH_NOT_SUPPORT; export interface DiscoveryEventData { [EVENT_DEVICE_ALREADY_PAIRED]: { devices?: string; }; [EVENT_DEVICE_FOUND]: { device?: string; }; [EVENT_DEVICE_DISCOVER_DONE]: { paired?: string; found?: string; }; [EVENT_BLUETOOTH_NOT_SUPPORT]: {}; } export interface BluetoothDevice { name: string; address: string; deviceType?: 'bt' | 'ble' | 'dual' | 'unknown'; rssi?: number; isSupported?: boolean; protocolStrings?: string[]; } export interface ScanResult { paired: BluetoothDevice[]; found: BluetoothDevice[]; } //# sourceMappingURL=types.d.ts.map