import { ChildProcess, SpawnOptions } from 'child_process'; export declare function startProcess(command: string, args: string[], options: SpawnOptions): Promise; export declare function stopProcess(cwd: string): Promise; export declare function getProcessStatus(cwd: string): Promise<{ running: boolean; pid?: number; }>; /** * 获取进程详细状态信息 */ export declare function getProcessStatusDetailed(cwd: string): Promise<{ running: boolean; pid?: number; info?: { name: string; memory?: string; cpu?: string; }; }>; /** * 获取所有相关进程列表 */ export declare function getRelatedProcesses(processName: string): Promise>; //# sourceMappingURL=process.d.ts.map