/** * A subagent's report, as its orchestrator receives it. The orchestrator reads * the report the way it reads its own answers, so the report feeds the same * afterthought recall: the memories it calls to mind are offered to the * orchestrator's conversation and arrive on its next event. * * Claude Code hands a foreground subagent's report back as the Agent tool's * result; a background subagent's report arrives later as a task notification * in the orchestrator's prompt (official hooks docs: UserPromptSubmit fires for * a background subagent reporting back to the session that started it). */ export declare function isSubagentTool(tool: string): boolean; /** The report of a foreground subagent that finished, or null (still running, failed, none). */ export declare function subagentToolReport(toolResponse: unknown): string | null; /** The reports of background subagents that completed, from a prompt's task notifications. */ export declare function taskNotificationReports(prompt: string): string[];