import { type UpgradeWebSocket } from "https://deno.land/x/hono@v4.1.5/helper/websocket/index.ts";
Upgrade WebSocket Type
definition: (createEvents: (c: Context) => WSEvents | Promise<WSEvents>) => MiddlewareHandler<any, string, { in: { json: UpgradedWebSocketResponseInputJSONType; }; }>