///
import { EventEmitter } from 'events';
import { Stream } from './stream';
/**
* @module rtc
*/
/**
* A user in the room
* @class rtc.Peer
*/
export declare class Peer extends EventEmitter {
/**
* The status of the peer has changed
* @event status_changed
* @param {Object} status The new status object
*/
static DEFAULT_CHANNEL: string;
static DEFAULT_STREAM: string;
/**
* Get a value of the status object
* @method status
* @param {String} key The key
* @return The value
*/
status(key: string, value?: string): void;
isLocal(): boolean;
stream(name?: string): Promise;
}