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