/// import dgram from "dgram"; import EventEmitter from "eventemitter3"; import { UdpAddress, UdpBindOptions, UdpSocket, UdpSocketEvents, UdpSocketOptions } from "../transport"; export declare class UdpSocketNode extends EventEmitter implements UdpSocket { private _socket; constructor(socket: dgram.Socket); remoteAddress(): Promise; localAddress(): Promise; addMembership(multicastAddress: string, multicastInterface?: string): Promise; bind(options: UdpBindOptions): Promise; connect(port: number, address?: string): Promise; close(): Promise; dispose(): Promise; dropMembership(multicastAddress: string, multicastInterface?: string): Promise; send(data: Uint8Array, offset: number, length: number, port: number, address: string): Promise; setBroadcast(flag: boolean): Promise; setMulticastInterface(multicastInterface: string): Promise; setMulticastLoopback(flag: boolean): Promise; setMulticastTTL(ttl: number): Promise; static Create(options?: UdpSocketOptions): Promise; } //# sourceMappingURL=UdpSocketNode.d.ts.map