index.d.ts 343 B

123456
  1. import encodePacket from "./encodePacket.js";
  2. import decodePacket from "./decodePacket.js";
  3. declare const encodePayload: (packets: any, callback: any) => void;
  4. declare const decodePayload: (encodedPayload: any, binaryType?: any) => any[];
  5. export declare const protocol = 4;
  6. export { encodePacket, encodePayload, decodePacket, decodePayload };