/** Last real user message (not a tool result / compact summary / transcript-only note). */ export declare function readLastUserMessage(transcriptPath: string): string | null; /** Last assistant text message (fallback when the harness omits last_assistant_message). */ export declare function readLastAssistantMessage(transcriptPath: string): string | null; /** Subagent (Task tool) transcripts live under a /tasks/ dir and must NOT be logged as user exchanges. */ export declare function isSubagentTranscript(transcriptPath: string | undefined): boolean;