import { $ } from '../../../../../Class/$';
import { Primitive } from '../../../../../Primitive';
import { System } from '../../../../../system';
import { $Graph } from '../../../../../types/interface/async/$Graph';
export interface I {
    offer: string;
    opt: {
        iceServers: {
            urls: string[];
        }[];
    };
    close: any;
}
export interface O {
    graph: $Graph & $;
    answer: string;
}
export default class PeerGraph extends Primitive<I, O> {
    __: string[];
    private _peer;
    private _peer_connected;
    private _id;
    private _target_channel;
    private _source_channel;
    private _remote_port;
    private _offer_sent;
    constructor(system: System);
    onDataInputData(name: string, data: any): Promise<void>;
    onDataInputDrop(name: string): void;
    private _accept_offer;
    private __forward_empty;
    private _disconnect;
}
