import type { ToolCall } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
import type { SubAgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/subagent_pb";
import { type ToolCategory } from "./tool-categories";
/** Props for {@link ToolCallItem}. */
export interface ToolCallItemProps {
    /** The tool call to render as a summary row. */
    readonly toolCall: ToolCall;
    /**
     * When present, this tool call is a sub-agent delegation. The
     * detail panel renders a {@link SubAgentSection} instead of
     * a {@link ToolCallDetail}.
     */
    readonly subAgentExecution?: SubAgentExecution | null;
    /**
     * Initial expansion state. Defaults to `false`.
     */
    readonly defaultExpanded?: boolean;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Renders a single tool call as a row in the tool call group.
 *
 * Two rendering modes:
 *
 * - **Non-expandable** (completed/skipped Read): a static `<div>` row
 *   with a clickable {@link FilePathLink}. No chevron, no expansion.
 *   The clickable path IS the complete information.
 * - **Expandable** (all other tools): a `<button>` row that toggles a
 *   {@link ToolCallDetail} or {@link SubAgentSection} detail panel.
 *
 * Shows category-aware labels (e.g., "Shell", "Read", "Edit") with
 * the primary argument as a subtitle, a category-specific icon, and
 * an inline approval decision badge when applicable.
 *
 * @example
 * ```tsx
 * <ToolCallItem toolCall={tc} />
 * <ToolCallItem toolCall={tc} subAgentExecution={sub} />
 * ```
 */
export declare function ToolCallItem({ toolCall, subAgentExecution, defaultExpanded, className, }: ToolCallItemProps): import("react/jsx-runtime").JSX.Element;
export declare const CATEGORY_ICON: Record<ToolCategory, () => React.JSX.Element>;
//# sourceMappingURL=ToolCallItem.d.ts.map