import { BaseCliWorker } from 'tnp-helpers/lib';
import { CURRENT_PACKAGE_VERSION } from '../../../../build-info._auto-generated_';
import { DevModeContext } from './dev-mode.context';
import { DevModeController } from './dev-mode.controller';
import { DevModeTerminalUI } from './dev-mode.terminal-ui';
//#endregion
export class DevModeWorker extends BaseCliWorker {
    //#region properties
    // TODO 'as any' for some reason is necessary
    // TypeScript d.ts generation bug
    workerContextTemplate = DevModeContext;
    terminalUI = new DevModeTerminalUI(this);
    controllerClass = DevModeController;
    //#endregion
    //#region constructor
    constructor(
    /**
     * unique id for service
     */
    serviceID, 
    /**
     * external command that will start service
     */
    startCommandFn) {
        // replace '0.0.0' with CURRENT_PACKAGE_VERSION for versioning
        super(serviceID, startCommandFn, CURRENT_PACKAGE_VERSION);
    }
}
//# sourceMappingURL=dev-mode.worker.js.map