/** * @module net */ import { PacketType } from './packet-type'; /** * A map from packet ids to packet types. */ export interface PacketIdMap { [id: number]: PacketType; } /** * A static singleton class used to store a `PacketIdMap` in memory. */ export declare class Mapper { static readonly map: Map; static readonly reverseMap: Map; /** * Stores the given packet id map, and it's reverse map. * @param ids The packet id map. */ static mapIds(ids: PacketIdMap): void; } //# sourceMappingURL=mapper.d.ts.map