import type { ToolCall } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
/** Props for {@link ToolCallDetail}. */
export interface ToolCallDetailProps {
    /** The tool call to render in detail. */
    readonly toolCall: ToolCall;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Renders the detail panel for a single tool call with
 * category-specific visual treatments.
 *
 * Arguments are rendered through the shared {@link ToolArgsView}
 * dispatch (same component used by {@link ApprovalCard}), ensuring
 * visual parity between pre-execution approval previews and
 * post-execution detail views. Result/output sections are layered
 * on top by this component.
 *
 * - **Shell tools**: terminal-style command + output
 * - **File tools (read/write/edit/delete)**: file path + content + result
 * - **Search tools (grep/glob)**: pattern + results
 * - **Think**: muted italic thought block
 * - **MCP tools**: structured args + parsed result via {@link McpToolDetail}
 * - **Unknown tools**: generic args + result JSON rendering
 *
 * Used inside {@link ToolCallItem} when expanded, but also
 * independently importable by platform builders who compose
 * their own tool call UI.
 *
 * @example
 * ```tsx
 * <ToolCallDetail toolCall={toolCall} />
 * ```
 */
export declare function ToolCallDetail({ toolCall, className }: ToolCallDetailProps): import("react/jsx-runtime").JSX.Element;
/**
 * Returns a human-readable duration string from two ISO 8601
 * timestamps. Returns `null` when either timestamp is empty or
 * invalid.
 */
export declare function formatDuration(startedAt: string, completedAt: string): string | null;
//# sourceMappingURL=ToolCallDetail.d.ts.map