import { Semifunctional } from '../../../../../Class/Semifunctional';
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 Semifunctional<I, O> {
    __: string[];
    private _peer;
    constructor(system: System);
    private _peer_connected;
    private _id;
    private _target_channel;
    private _source_channel;
    private _remote_port;
    private _offer_sent;
    onDataInputData(name: string, data: any): Promise<void>;
    onDataInputDrop(name: string): void;
    private _accept_offer;
    private __forward_empty;
    private _disconnect;
}
