import type { DiscoveredTool } from "@stigmer/protos/ai/stigmer/agentic/mcpserver/v1/status_pb";
import type { ToolApprovalPolicy } from "@stigmer/protos/ai/stigmer/agentic/mcpserver/v1/spec_pb";
/** Props for {@link McpToolSelector}. */
export interface McpToolSelectorProps {
    /** Discovered tools from `status.discovered_capabilities.tools`. */
    readonly tools: DiscoveredTool[];
    /** Approval policies from `status.tool_approvals` and `spec.pinned_tool_approvals`. */
    readonly toolApprovals: ToolApprovalPolicy[];
    /** Currently enabled tool names (controlled). */
    readonly enabledTools: string[];
    /** Called when the set of enabled tools changes. */
    readonly onChange: (enabledTools: string[]) => void;
    /** Disables all interaction. */
    readonly disabled?: boolean;
    /** Additional CSS class names for the root container. */
    readonly className?: string;
}
/**
 * Checklist of discovered MCP server tools with approval policy badges.
 *
 * Renders one checkbox row per tool with the tool name, a one-line
 * description, and an "Approval" badge for tools that have an entry
 * in `toolApprovals`. The header shows the tool count and compact
 * "All" / "None" bulk-selection shortcuts.
 *
 * This is a **pure presentational component** — it has no knowledge
 * of the setup hook, personal environments, or session creation.
 * State is fully controlled via `enabledTools` and `onChange`.
 *
 * When `tools` is empty (capabilities not yet discovered), the
 * component renders an informational empty state. The caller is
 * responsible for deciding whether to render the selector at all.
 *
 * All visual properties flow through `--stgm-*` design tokens.
 *
 * @example
 * ```tsx
 * <McpToolSelector
 *   tools={entry.discoveredTools}
 *   toolApprovals={entry.toolApprovals}
 *   enabledTools={entry.enabledTools}
 *   onChange={(tools) => setEnabledTools(serverRef, tools)}
 * />
 * ```
 */
export declare function McpToolSelector({ tools, toolApprovals, enabledTools, onChange, disabled, className, }: McpToolSelectorProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=McpToolSelector.d.ts.map