UNPKG

hdckit

Version:

A pure Node.js client for the OpenHarmony Device Connector

20 lines (19 loc) 558 B
import Command from '../Command'; export interface IForward { local: string; remote: string; target: string; } export declare class ForwardPortCommand extends Command<void> { execute(local: string, remote: string): Promise<void>; } export declare class ListForwardsCommand extends Command<IForward[]> { execute(): Promise<{ target: string; local: string; remote: string; }[]>; } export declare class RemoveForwardPortCommand extends Command<void> { execute(local: string, remote: string): Promise<void>; }