/**
 * MCP Add Wizard Component
 *
 * Interactive multi-step wizard for adding MCP servers.
 */
import { Container } from "@pk-nerdsaver-ai/pi-tui";
import type { MCPServerConfig } from "../../mcp/types";
type Scope = "user" | "project";
/**
 * Result of the wizard's OAuth callback. `credentialId` is mandatory;
 * `clientId` is populated when the OAuth provider performed dynamic client
 * registration (or when the caller pre-supplied it) so the wizard can fold it
 * into the final `mcp.json` entry. Refresh material (including any DCR client
 * secret) is embedded in the stored credential, never written to config files.
 */
export interface MCPAddWizardOAuthResult {
    credentialId: string;
    clientId?: string;
    resource?: string;
}
interface MCPAddWizardOAuthOptions {
    serverUrl?: string;
    resource?: 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, options?: MCPAddWizardOAuthOptions) => Promise<MCPAddWizardOAuthResult>, onTestConnection?: (config: MCPServerConfig) => Promise<void>, onRender?: () => void, initialName?: string);
    handleInput(keyData: string): void;
}
export {};
