export interface ProcessConnectionInfo { remote: string; state?: string; } export interface ProcessDetailSnapshot { ok: true; pid: number; name?: string; command?: string; exePath?: string; user?: string; ppid?: number; status?: string; threads?: number; elapsedSeconds?: number; cpuUserSeconds?: number; cpuSystemSeconds?: number; cpuTotalSeconds?: number; virtualBytes?: number; rssBytes?: number; ioReadBytes?: number; ioWriteBytes?: number; connections?: ProcessConnectionInfo[]; unsupported?: string; } export declare function parseProcStatus(content: string): { name?: string; status?: string; ppid?: number; threads?: number; virtualBytes?: number; rssBytes?: number; }; export declare function parseProcUptime(content: string): number | null; export declare function parseLinuxStatTimes(content: string): { userTicks: number; systemTicks: number; startTicks: number; } | null; export declare function parsePsEtimeSeconds(value: string): number | null; export declare function parsePsCpuTimeSeconds(value: string): number | null; export declare function parseLsofConnectionLine(line: string): ProcessConnectionInfo | null; export declare function parseSsConnectionsForPid(output: string, pid: number): ProcessConnectionInfo[]; export declare function parseLsofConnectionsForPid(output: string): ProcessConnectionInfo[]; export declare function parseJsonObject(stdout: string): T | null; export declare function parseLinuxCmdline(content: string): string; export declare function parseLinuxIoBytes(content: string): { readBytes: number; writeBytes: number; }; export declare function parseDarwinPsDetailLine(line: string): { ppid?: number; user?: string; status?: string; rssBytes?: number; virtualBytes?: number; elapsedSeconds?: number; cpuTotalSeconds?: number; command?: string; } | null; export declare function collectProcessDetail(pid: number): Promise;