export declare class DeviceConnectionsFactory {
    private _connectionsMapping;
    constructor();
    listConnections(udid?: string | null, port?: string | number | null, strict?: boolean): string[];
    requestConnection(udid?: string | null, port?: string | number | null, options?: RequestConnectionOptions): Promise<void>;
    releaseConnection(udid?: string | null, port?: string | number | null): void;
    private _udidAsToken;
    private _portAsToken;
    private _toKey;
    private _releaseProxiedConnections;
}
export declare const DEVICE_CONNECTIONS_FACTORY: DeviceConnectionsFactory;
interface RequestConnectionOptions {
    usePortForwarding?: boolean;
    devicePort?: number | null;
}
export {};
//# sourceMappingURL=device-connections-factory.d.ts.map