type FabricTranscriptEntryStatus = "running" | "completed" | "failed"; export interface FabricTranscriptEntry { id: string; kind: "user" | "assistant" | "tool" | "error" | "status"; label: string; text?: string; status?: FabricTranscriptEntryStatus; toolName?: string; args?: Record; result?: unknown; parentId?: string; depth?: number; } export interface FabricAgentTranscript { entries: FabricTranscriptEntry[]; /** Kept for compatibility; true means older pages are available. */ truncated: boolean; hasMore?: boolean; hasNewer?: boolean; updatedAt?: number; } export interface FabricTranscriptSource { id: string; status: string; logFile?: string; } export interface FabricNestedToolPreview { kind: "fabric-agent-tools"; id: string; name: string; status: string; runner?: "pi" | "claude"; owner: "agent" | "actor"; text?: string; tools: FabricTranscriptEntry[]; } export declare const projectAgentTranscript: (events: Array>, olderAvailable?: boolean) => FabricAgentTranscript; export declare const isFabricNestedToolPreview: (value: unknown) => value is FabricNestedToolPreview; export declare const recentTranscriptTools: (transcript: FabricAgentTranscript, limit?: number) => FabricTranscriptEntry[]; export declare class AgentTranscriptReader { #private; read(source: FabricTranscriptSource, followLatest?: boolean): FabricAgentTranscript; loadOlder(source: FabricTranscriptSource): boolean; loadNewer(source: FabricTranscriptSource): boolean; loadLatest(source: FabricTranscriptSource): boolean; clear(): void; } export {}; //# sourceMappingURL=transcript.d.ts.map