import { PacketType } from "./PacketType.ts"; import type { CodecOpts } from "./types.ts"; import type { ProtocolLevel } from "./protocolLevels.ts"; /** * PingresPacket is an empty packet that is sent by the server in response to a PingreqPacket. * It is used to indicate that the client is still connected to the server. */ export type PingresPacket = { type: PacketType; protocolLevel: ProtocolLevel; }; export declare function encode(_packet: PingresPacket, _codecOpts: CodecOpts): Uint8Array; export declare function decode(buffer: Uint8Array, flags: number, codecOpts: CodecOpts, _packetType: PacketType): PingresPacket; //# sourceMappingURL=pingres.d.ts.map