export interface TranscriptEntry { source?: string; type?: string; status?: string; content?: string; } /** Map the current workspace directory to its most recent agy conversation id. */ export declare function conversationIdForCwd(cwd: string): string | undefined; /** * Fallback discovery: the newest conversation directory whose logs were written * at or after `sinceMs`. Bounding by start time stops us returning a stale reply * from a previous run when last_conversations.json lookup misses or races. */ export declare function newestConversationSince(sinceMs: number): string | undefined; /** Whether conversation `id`'s transcript was (re)written at or after `sinceMs`. */ export declare function conversationFreshSince(id: string, sinceMs: number): boolean; /** Extract DONE planner replies that follow the last user input. */ export declare function extractReplies(entries: TranscriptEntry[]): string; /** * Read the model's reply for a conversation, preferring JSONL and falling back * to SQLite. Throws with a clear message if neither yields a reply. */ export declare function readTranscriptResponse(id: string): string; //# sourceMappingURL=agyTranscript.d.ts.map