/** Props for {@link ToolArgsView}. */
export interface ToolArgsViewProps {
    /**
     * Raw tool name as it appears on the ToolCall or PendingApproval.
     * Used for category resolution and MCP metadata display.
     */
    readonly toolName: string;
    /**
     * Parsed tool arguments — either from `ToolCall.args` or
     * `JSON.parse(PendingApproval.argsPreview)`.
     */
    readonly args: Record<string, unknown> | null;
    /** MCP server slug for MCP tool classification and metadata. */
    readonly mcpServerSlug?: string;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Unified tool-arguments renderer used by both {@link ApprovalCard}
 * (pre-execution) and {@link ToolCallDetail} (post-execution).
 *
 * Resolves the tool category from `toolName` + `mcpServerSlug`,
 * extracts the relevant primary argument, and dispatches to the
 * appropriate category-specific view:
 *
 * - **Shell** — terminal-style command block
 * - **File (read/write/edit/delete)** — file icon + path + optional content
 * - **Search / List** — pattern display
 * - **MCP** — metadata row + scalar key-value grid + collapsible JSON
 * - **Generic / Unknown** — formatted JSON args
 *
 * @example
 * ```tsx
 * // In approval card (from argsPreview string):
 * const args = JSON.parse(pendingApproval.argsPreview);
 * <ToolArgsView toolName={toolName} args={args} mcpServerSlug={slug} />
 *
 * // In detail view (from ToolCall):
 * <ToolArgsView toolName={tc.name} args={tc.args} mcpServerSlug={tc.mcpServerSlug} />
 * ```
 */
export declare function ToolArgsView({ toolName, args, mcpServerSlug, className, }: ToolArgsViewProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ToolArgsView.d.ts.map