import { type InsightPhase, type SafeSubagentLane } from './types.js'; type LaneSpan = { phase: InsightPhase; tool: string; status: string; durationMs?: number; }; /** Inject the caller's cached parser so repeated detail fetches of the same * session don't re-read unchanged sub-agent transcripts. Defaults to a fresh * parse for standalone use / tests. */ type SubagentParse = (path: string) => { spans?: LaneSpan[]; } | null; /** Roll up the delegated sub-agents for a Claude session into safe lanes. * Returns [] when there is no subagents dir (most sessions). Detail-mode only — * it parses one extra file per sub-agent, so never call it for the overview. */ export declare function buildSubagentLanes(mainPath: string, parse?: SubagentParse): SafeSubagentLane[]; export {}; //# sourceMappingURL=subagent-reader.d.ts.map