import type { AgentManager } from "../agents/manager.js"; import type { AgentRunRecord, AgentRunResult } from "../agents/types.js"; import type { FabricActorMessage } from "../actors/types.js"; import type { FabricInvocationContext } from "../protocol.js"; import { type AgentTranscriptReader, type FabricAgentToolPreviewNode, type FabricTranscriptEntry } from "../ui/transcript.js"; type AgentProgressSink = Pick; export interface AgentToolPreviewTreeOptions { tools: (record: AgentRunRecord) => FabricTranscriptEntry[]; maxDepth?: number; maxNodes?: number; } export declare const collectAgentToolPreviewNodes: (records: readonly AgentRunRecord[], options: AgentToolPreviewTreeOptions, depth?: number, budget?: { remaining: number; }) => FabricAgentToolPreviewNode[]; export declare const waitWithProgress: (manager: Pick, transcripts: Pick, id: string, context: AgentProgressSink, agentToolPreviewEnabled: () => boolean) => Promise; export declare const waitWithActorProgress: (manager: Pick, transcripts: Pick, actorId: string, actorName: string, result: Promise, context: AgentProgressSink, agentToolPreviewEnabled: () => boolean) => Promise; export {}; //# sourceMappingURL=agents-progress.d.ts.map