export interface FileChange { file_path: string; device?: string; mode: 'net' | 'degraded' | 'no-diff'; unifiedDiff: string; } /** Read modified file paths from session-activity JSONL for a given session ID. * Collects both edit_file and write_file events, deduplicates, returns unique paths. */ export declare function getModifiedFilesFromSession(sessionId: string | null | undefined): string[]; /** Compute net unified diffs for every (device, file_path) touched in a session. * Returns one entry per file, ordered by first-touch time. */ export declare function getSessionFileChanges(sessionId: string | null | undefined): FileChange[]; /** Render FileChange[] as markdown with fenced ```diff blocks per file. Empty when changes is empty. */ export declare function renderModifiedFilesWithDiff(changes: FileChange[]): string; /** Read the artifact file content for a thread */ export declare function readArtifact(threadId: string): string | null; /** Remove the workspace directory for a thread */ export declare function cleanupWorkspace(threadId: string): void;