import { EventEmitter } from 'events';
export interface ProcessInfo {
    id: string;
    name: string;
    command: string;
    args: string[];
    pid?: number;
    status: 'starting' | 'running' | 'stopped' | 'error';
    startTime?: Date;
    port?: number;
}
export declare class ProcessManager extends EventEmitter {
    private processes;
    constructor();
    startProcess(info: Omit<ProcessInfo, 'status' | 'startTime'>): Promise<ProcessInfo>;
    stopProcess(id: string): boolean;
    getProcess(id: string): ProcessInfo | undefined;
    getAllProcesses(): ProcessInfo[];
    isProcessRunning(id: string): boolean;
    isPortInUse(port: number): boolean;
    stopAllProcesses(): void;
    cleanup(): void;
}
export declare const processManager: ProcessManager;
//# sourceMappingURL=processManager.d.ts.map