import * as process from 'node:process';
import type { ChildProcess } from 'node:child_process';
import type { StartOptions } from './types';
export declare const processManager: ProcessManager;
export declare interface ManagedProcess {
  command: string
  cwd: string
  process: ChildProcess | null
  env?: Record<string, string>
}
export declare class ProcessManager {
  startProcess(id: string, options: StartOptions, verbose?: boolean): Promise<void>;
  stopProcess(id: string, verbose?: boolean): Promise<void>;
  stopAll(verbose?: boolean): Promise<void>;
  isRunning(id: string): boolean;
}
