type BluetoothDevice = { id: string; name?: string; gatt?: { connected: boolean; disconnect(): void; }; }; type BluetoothDeviceType = BluetoothDevice & { gatt?: { connected: boolean; disconnect(): void; }; }; interface RequestDeviceOptions { filters?: Array<{ services?: string[]; name?: string; namePrefix?: string; }>; optionalServices?: string[]; acceptAllDevices?: boolean; } export declare function useWebBluetooth(): { connect: (options: RequestDeviceOptions) => Promise; disconnect: () => void; device: BluetoothDeviceType | null; isSupported: boolean; error: Error | null; }; export {};