// Shim for @arcblock/ws — WebSocket client/server not needed in CF Workers
// @ocap/client imports this but only uses HTTP, not WebSocket subscriptions

export class WsClient {
  constructor(..._args: any[]) {}
  connect() {}
  disconnect() {}
  onOpen(_cb: any) {}
  onClose(_cb: any) {}
  onError(_cb: any) {}
  onMessage(_cb: any) {}
}

export class WsServer {
  constructor(..._args: any[]) {}
  attach() {}
  broadcast() {}
}

export default { WsClient, WsServer };
