import type { AgentToolResult } from "@lpb-work/pi-agent-core"; import { type AsyncStatus, type Details, type NestedRunSummary, type SubagentState } from "../../shared/types.ts"; interface FleetViewParams { lines?: number; } interface FleetViewDeps { asyncDirRoot?: string; resultsDir?: string; kill?: (pid: number, signal?: NodeJS.Signals | 0) => boolean; now?: () => number; state?: SubagentState; childSafe?: boolean; } interface TranscriptOptions { index?: number; lines?: number; sessionRoots?: string[]; } export declare function inspectSubagentFleet(_params: FleetViewParams, deps?: FleetViewDeps): AgentToolResult
; export declare function formatAsyncRunTranscript(status: AsyncStatus, asyncDir: string, options?: TranscriptOptions): string; export declare function formatNestedRunTranscript(run: NestedRunSummary, options?: TranscriptOptions): string; export declare function formatAsyncResultTranscript(data: { id?: string; runId?: string; state?: string; success?: boolean; summary?: string; output?: string; sessionFile?: string; agent?: string; exitCode?: number | null; results?: Array<{ agent?: string; output?: string; summary?: string; sessionFile?: string; state?: string; success?: boolean; exitCode?: number | null; }>; }, resultPath: string, options?: TranscriptOptions): string; export {}; //# sourceMappingURL=fleet-view.d.ts.map