import { Connection } from '../../connection'; import Cmd from './cmd'; export default abstract class TransportCommand extends Cmd { private serial; protected autoEnd: boolean; protected abstract keepAlive: boolean; constructor(connection: Connection, serial: string); /** * Executed when {@link execute} was successful */ protected abstract postExecute(): T | Promise; /** * Executes {@link Cmd} on the device */ execute(): Promise; }