export interface BluetoothDevice { deviceId: string; deviceName: string; } export interface ElectronAPI { invoke(channel: string, ...args: unknown[]): Promise; onBluetoothDeviceList: ( callback: (devices: BluetoothDevice[]) => void, ) => void; selectBluetoothDevice: (deviceId: string) => void; } declare global { interface Window { electronAPI?: ElectronAPI; process?: { type?: string; }; } } export {};