export type LoginPacket = {
    type: 0;
    success: boolean;
};
export type CommandPacket = {
    type: 1;
    sequence: number;
    message: string;
};
export type ServerMessagePacket = {
    type: 2;
    sequence: number;
    message: string;
};
export type BEPacket = LoginPacket | CommandPacket | ServerMessagePacket;
export declare function parsePacket(msg: Buffer): BEPacket | null;
