import type { Upstream } from '../../../zero-protocol/src/up.ts'; /** * Send message over WebSocket * * Automatically uses binary (MessagePack) or JSON based on feature flag. * Binary encoding provides: * - 60-85% size reduction * - 44-67% faster encoding/decoding * - Better security (not human-readable) * * @param ws - WebSocket connection * @param data - Message to send */ export declare function send(ws: WebSocket, data: Upstream): void; //# sourceMappingURL=socket.d.ts.map