import { EventEmitter } from "events"; import * as net from "net"; import * as ws from "ws"; import { IAppDebugSocketProxyFactory, IOptions } from "../../declarations"; import { IErrors, INet } from "../../common/declarations"; import { ITempService } from "../../definitions/temp-service"; export declare class AppDebugSocketProxyFactory extends EventEmitter implements IAppDebugSocketProxyFactory { private $logger; private $errors; private $lockService; private $options; private $tempService; private $net; private deviceWebServers; private deviceTcpServers; constructor($logger: ILogger, $errors: IErrors, $lockService: ILockService, $options: IOptions, $tempService: ITempService, $net: INet); getTCPSocketProxy(deviceIdentifier: string, appId: string): net.Server; addTCPSocketProxy(device: Mobile.IiOSDevice, appId: string, projectName: string, projectDir: string): Promise; ensureWebSocketProxy(device: Mobile.IiOSDevice, appId: string, projectName: string, projectDir: string): Promise; private addWebSocketProxy; removeAllProxies(): void; }