import * as react_jsx_runtime from 'react/jsx-runtime'; type ToolCallType = "bash" | "read" | "write" | "edit" | "glob" | "grep" | "list" | "download" | "inspect" | "audit" | "unknown"; type ToolCallStatus = "running" | "success" | "error"; interface ToolCallData { id: string; type: ToolCallType; label: string; status: ToolCallStatus; detail?: string; output?: string; duration?: number; } type FeedSegment = { kind: "text"; content: string; } | { kind: "tool_call"; call: ToolCallData; } | { kind: "tool_group"; title?: string; calls: ToolCallData[]; }; interface ToolCallFeedProps { segments: FeedSegment[]; className?: string; } /** * Renders a feed of interleaved text and tool calls. */ declare function ToolCallFeed({ segments, className }: ToolCallFeedProps): react_jsx_runtime.JSX.Element | null; /** * Parse raw SSE tool events into FeedSegments. * * This is the bridge between the orchestrator's SSE stream format * and the ToolCallFeed component. Consumers call this in their * useToolCallStream hook. */ declare function parseToolEvent(event: { type: string; data: Record; }): ToolCallData | null; export { type FeedSegment as F, type ToolCallData as T, ToolCallFeed as a, type ToolCallFeedProps as b, type ToolCallStatus as c, type ToolCallType as d, parseToolEvent as p };