/** * Pidfile management for processes the CLI spawns into the background * (RealSense camera, Gazebo, etc.). Same /tmp/agenticros-*.pid convention as * the existing scripts/start_demo.sh. */ export type ManagedProcess = "camera" | "sim" | "mcp" | "rosbridge" | "eyes"; export declare function writePid(name: ManagedProcess, pid: number): void; export declare function readPid(name: ManagedProcess): number | undefined; /** True if the recorded PID exists and is still alive. */ export declare function isPidAlive(name: ManagedProcess): boolean; /** Kill the recorded process gently (SIGTERM). Returns the pid that was signalled. */ export declare function killPid(name: ManagedProcess, signal?: NodeJS.Signals): number | undefined; export declare function clearPid(name: ManagedProcess): void; /** Log file path for a managed process, matching the start_demo.sh convention. */ export declare function logPath(name: ManagedProcess): string; //# sourceMappingURL=pidfile.d.ts.map