/// import net = require('../net/net.types'); import RTCIceCandidate = freedom.RTCPeerConnection.RTCIceCandidate; export interface IceExtension { key: string; value: string; } export declare class Candidate { component: number; foundation: string; priority: number; ip: string; protocol: string; port: number; type: string; relatedAddress: string; relatedPort: number; extensions: IceExtension[]; sdpMid: string; sdpMLineIndex: number; getLocalEndpoint(): net.Endpoint; clone(): Candidate; toRTCIceCandidate(): RTCIceCandidate; static fromRTCIceCandidate(rtcIceCandidate: RTCIceCandidate): Candidate; }