1 | import { encodePacket } from "./encodePacket.js";
|
2 | import { decodePacket } from "./decodePacket.js";
|
3 | import { Packet, PacketType, RawData, BinaryType } from "./commons.js";
|
4 | declare const encodePayload: (packets: Packet[], callback: (encodedPayload: string) => void) => void;
|
5 | declare const decodePayload: (encodedPayload: string, binaryType?: BinaryType) => Packet[];
|
6 | export declare function createPacketEncoderStream(): any;
|
7 | export declare function createPacketDecoderStream(maxPayload: number, binaryType: BinaryType): any;
|
8 | export declare const protocol = 4;
|
9 | export { encodePacket, encodePayload, decodePacket, decodePayload, Packet, PacketType, RawData, BinaryType, };
|