import { ValueKind, BrsBoolean, BrsType, BrsValue, RoSocketAddress } from "..";
import { BrsComponent } from "./BrsComponent";
import { BrsSocket } from "../interfaces/IfSocket";
import * as net from "net";
export declare class RoDataGramSocket extends BrsComponent implements BrsValue, BrsSocket {
    readonly kind = ValueKind.Object;
    readonly socket?: net.Socket;
    readonly identity: number;
    private broadcast;
    private multicastLoop;
    private multicastTTL;
    address?: RoSocketAddress;
    sendToAddress?: RoSocketAddress;
    ttl: number;
    reuseAddr: boolean;
    inline: boolean;
    sendBufferSize: number;
    recvBufferSize: number;
    sendTimeout: number;
    recvTimeout: number;
    errorCode: number;
    constructor();
    toString(parent?: BrsType): string;
    equalTo(other: BrsType): BrsBoolean;
    /** Checks whether broadcast messages may be sent or received. */
    private readonly getBroadcast;
    /** Enables broadcast messages to be sent or received. */
    private readonly setBroadcast;
    /** Joins a specific multicast group. */
    private readonly joinGroup;
    /** Drops out of a specific multicast group. */
    private readonly dropGroup;
    /** Checks whether multicast messages are enabled for local loopback. */
    private readonly getMulticastLoop;
    /** Enables local loopback of multicast messages. */
    private readonly setMulticastLoop;
    /** Returns the TTL integer value for multicast messages. */
    private readonly getMulticastTTL;
    /** Enables local loopback of multicast messages. */
    private readonly setMulticastTTL;
}
