import { IReader } from "bufferstuff"; import Packet from "../enums/Packet"; export default interface IPacket { packetId: Packet, readData: (reader:IReader) => IPacket, writeData: () => Buffer|Promise }