/// /// import { SimpleRconOptions } from "../types/simple-rcon-options"; import { EventEmitter } from "events"; import { Buffer } from "buffer"; export declare class NetSocket extends EventEmitter { private socket; private client; private readonly ip; private readonly port; private readonly password; private buffer; private options; constructor(client: any, options: SimpleRconOptions); connect(): void; private authenticate; isAuthed: boolean; onData(data: Buffer): void; onAuthAttempt(event: any): void; onError(event: any): void; onClose(event: any): void; sendMessage(message: string, identifier: number): void; private createRconPacket; close(): void; terminate(): void; }