/**
 * McpServerList Component
 * Shows list of configured MCP servers with their status
 * First screen of /mcp command - select a server or add new
 */
import React from 'react';
import type { Key } from '../../hooks/useInputOrchestrator.js';
import type { McpServerStatus } from '@dexto/core';
import type { TuiAgentBackend } from '../../agent-backend.js';
export type McpServerListAction = {
    type: 'select-server';
    server: McpServerStatus;
} | {
    type: 'add-new';
};
interface McpServerListProps {
    isVisible: boolean;
    onAction: (action: McpServerListAction) => void;
    onClose: () => void;
    agent: TuiAgentBackend;
}
export interface McpServerListHandle {
    handleInput: (input: string, key: Key) => boolean;
}
/**
 * MCP Server List - shows all configured servers and add option
 */
declare const McpServerList: React.ForwardRefExoticComponent<McpServerListProps & React.RefAttributes<McpServerListHandle>>;
export default McpServerList;
//# sourceMappingURL=McpServerList.d.ts.map