declare namespace Socket { type Response = NotificationResponse interface cmdResponse { type: 'cmd_debug' | 'cmd_response' data: cmdData } interface cmdData { commandId: string command: string status: 'receive' | 'start' | 'device_result' | 'device_send' | 'success' | 'error' | 'finish' title: string content: string } }