import { PacketType } from "./PacketType.ts"; import type { CodecOpts } from "./types.ts"; import type { ProtocolLevel } from "./protocolLevels.ts"; /** * PingreqPacket is a packet that is sent to the server to keep the connection alive */ export type PingreqPacket = { type: PacketType; protocolLevel: ProtocolLevel; }; export declare function encode(_packet: PingreqPacket, _codecOpts: CodecOpts): Uint8Array; export declare function decode(buffer: Uint8Array, flags: number, codecOpts: CodecOpts, _packetType: PacketType): PingreqPacket; //# sourceMappingURL=pingreq.d.ts.map