/// <reference types="node" />
import { RemoteInfo } from 'dgram';
import { INetworkPlayer, IPacketHeader, SocketType } from './NetworkHandler';
export declare class NetworkPlayer implements INetworkPlayer {
    readonly uuid: string;
    __nickname: () => string;
    data: any;
    constructor(nickname: string, uuid: string);
    get nickname(): string;
    set nickname(s: string);
    toJSON(): {
        uuid: string;
        nickname: string;
        data: any;
    };
}
export declare class Packet implements IPacketHeader {
    packet_id: string;
    lobby: string;
    channel: string;
    player: INetworkPlayer;
    forward: boolean;
    socketType: SocketType;
    constructor(packet_id: string, channel: string, lobby: string, forward?: boolean);
}
export declare class UDPPacket extends Packet {
    rinfo: RemoteInfo | undefined;
    constructor(packet_id: string, channel: string, lobby: string, forward?: boolean);
}
declare class PacketHelper {
    cloneDestination(_old: IPacketHeader, _new: IPacketHeader): void;
}
export declare const packetHelper: PacketHelper;
export {};
