import { Connection } from '../../connection'; import TransportCommand from './transport'; export default abstract class PackageCommand extends TransportCommand { protected abstract Cmd: string; protected packageOrPath: string; protected keepAlive: boolean; constructor(connection: Connection, serial: string, packageOrPath: string); protected postExecute(): Promise; protected abstract throwError(code: string): never; }