export interface PidEntry { pid?: number; task: string; spawnedAt: string; } export declare class PidSidecar { private readonly projectRoot; private readonly sessionId; constructor(projectRoot: string, sessionId: string); private path; /** * Read all pid entries for this session from disk. * Returns an empty map if the file is missing or malformed — never throws. */ readAll(): Promise>; /** * Record a runId->PidEntry mapping persistently. * Reads existing entries, merges, and atomically rewrites the sidecar file. */ record(runId: string, entry: PidEntry): Promise; } //# sourceMappingURL=pid-sidecar.d.ts.map