/** * Process Snapshot Utilities * * Functions for reading process information and resolving signal callers. */ type ProcessSnapshot = { pid: number; ppid: number; pgid: number; sid: number; tty: string; stat: string; etime: string; command: string; }; type SessionPeer = { pid: number; ppid: number; sid: number; command: string; }; declare function readProcessSnapshot(pid: number): ProcessSnapshot | undefined; declare function listSessionPeers(sessionId: number, currentPid: number): SessionPeer[]; declare function resolveSignalCaller(signal: string): Record; export { readProcessSnapshot, listSessionPeers, resolveSignalCaller }; export type { ProcessSnapshot, SessionPeer };