/** * MCP Add Wizard Component * * Interactive multi-step wizard for adding MCP servers. */ import { Container } from "@oh-my-pi/pi-tui"; import type { MCPServerConfig } from "../../mcp/types"; type Scope = "user" | "project"; /** * Result of the wizard's OAuth callback. `credentialId` is mandatory; * `clientId`/`clientSecret` are populated when the OAuth provider performed * dynamic client registration (or when the caller pre-supplied them) so the * wizard can fold them into the final `mcp.json` entry for refresh. */ export interface MCPAddWizardOAuthResult { credentialId: string; clientId?: string; clientSecret?: string; } export declare class MCPAddWizard extends Container { #private; constructor(onComplete: (name: string, config: MCPServerConfig, scope: Scope) => void, onCancel: () => void, onOAuth?: (authUrl: string, tokenUrl: string, clientId: string, clientSecret: string, scopes: string) => Promise, onTestConnection?: (config: MCPServerConfig) => Promise, onRender?: () => void, initialName?: string); handleInput(keyData: string): void; } export {};