import type { ConnectMiniSocket } from '../../mini/dev/mini-hmr-runtime.ts'; /** * Opens an independent Alipay socket and adapts its receive envelope to the shared Mini runtime. * * Alipay reports inbound text as `{ message }`, whereas WeChat and the internal socket contract use `{ data }`. Without this * adapter the WebSocket frame remains visible in DevTools, but the shared listener reads `undefined`, classifies it as non-text, * and returns without evaluating the interpreter patch or logging an error. Vite sends only JSON text, so no binary conversion is * needed here. */ export declare const connectZfbSocket: ConnectMiniSocket;