import { Action, ActionSuccess } from "./Action"; /** * @deprecated use TCPAction instead, because its sends the request directly from the device */ export declare class TelnetAction implements Action { wsAddress: string; ws: WebSocket; host: string; port: number; name: string; command: string; __variant__: string; constructor({ name, wsAddress, host, port, command }: { name: string; wsAddress: string; host: string; port: number; command: string; }); run(): Promise; toJSON(): { wsAddress: string; host: string; port: number; name: string; command: string; __variant__: string; }; static fromJSON(json: { name: string; wsAddress: string; host: string; port: number; command: string; }): TelnetAction; }