/**
* OATS Development Orchestrator
*
* Manages multiple development services with cross-platform compatibility
* and coordinates synchronization between backend API and TypeScript client
*/
///
import { EventEmitter } from 'events';
import type { RuntimeConfig } from '../types/config.types.js';
export declare class DevSyncOrchestrator extends EventEmitter {
private config;
private logger;
private processManager;
private shutdownManager;
private services;
private syncEngine?;
private linkedPackages;
private configWatcher?;
constructor(config: RuntimeConfig);
/**
* Create service instances
*/
private createServices;
/**
* Start all services
*/
start(): Promise;
/**
* Shutdown all services
*/
shutdown(): Promise;
/**
* Stop all services without exiting the process
*/
private stop;
/**
* Link client package to frontend
*/
private linkClientPackage;
/**
* Unlink packages on shutdown
*/
private unlinkPackages;
/**
* Detect package manager
*/
private detectPackageManager;
/**
* Calculate a fingerprint for the client package to detect changes
*/
private getClientPackageFingerprint;
/**
* Persist link cache metadata to speed up subsequent startups
*/
private writeLinkCache;
/**
* Determine the appropriate command to remove global links
*/
private getGlobalUnlinkCommand;
/**
* Run a command
*/
private runCommand;
/**
* Set up sync engine event handlers
*/
private setupSyncHandlers;
/**
* Set up signal handlers
*/
private setupSignalHandlers;
/**
* Watch config file for changes
*/
private watchConfigFile;
/**
* Print service status
*/
private printServiceStatus;
}
//# sourceMappingURL=orchestrator.d.ts.map