import { IDeviceCommandParams } from './IDeviceCommandParams'; export interface IDeviceConnection { connect(): Promise; disconnect(): Promise; execute(command: string, params: IDeviceCommandParams): Promise; initialize(params: any): boolean; get isConnected(): boolean; get isLogged(): boolean; login(messageAuthFailed: string, messageLoginPrompt: string): Promise; logout(): Promise; }