/**
 * /mcp slash command handler.
 *
 * The config files (mcp.json) are the single source of truth.
 * Each loop iteration re-reads them so the menu always reflects
 * the current state — no stale in-memory copies.
 *
 * Runtime connection status from McpManager is overlaid as
 * read-only decoration (tool counts, error messages).
 */
import type { AuthStorage } from '../../app/auth/auth-storage.js';
import type { McpManager } from '../../app/mcp/index.js';
import type { McpOAuthStore } from '../../app/mcp/oauth-state-store.js';
import type { SettingsManager } from '../../app/settings-manager.js';
import type { SelectItem } from '../../tui/index.js';
/** Top-level interactive `/mcp` command flow: list servers, manage, and edit configs. */
export declare function handleMcpCommand(showStatus: (msg: string) => void, select: (title: string, options: string[] | SelectItem[]) => Promise<string | undefined>, input: (title: string, placeholder?: string) => Promise<string | undefined>, getMcpManager: () => McpManager | null, settingsManager: SettingsManager, onLogin?: (providerId?: string) => Promise<void> | void, onLogout?: (providerId?: string) => Promise<void> | void, onMcpSettingsChanged?: () => Promise<void> | void, installDeps?: {
    authStorage: AuthStorage;
    mcpOAuthStore: McpOAuthStore;
    onMcpConfigChanged?: () => Promise<void> | void;
}): Promise<boolean>;
//# sourceMappingURL=mcp-command.d.ts.map