import type { McpTransport } from '../contract.js'; export type { McpTransport }; /** A single `mcpServers` entry. Fields are optional and we tolerate extras we * don't model (Claude Code may carry more). */ export interface McpServerDef { type?: McpTransport; command?: string; args?: string[]; env?: Record; url?: string; headers?: Record; [key: string]: unknown; } interface ProfileMcpStatus { name: string; configured: boolean; inGlobal: boolean; globalDrift: boolean; transport: McpTransport | null; detail: string | null; } /** Every MCP server known to the profile: configured, available globally, or * both. Names are the union of profile + global, sorted. */ export declare function listProfileMcp(name: string): ProfileMcpStatus[]; /** Copy a server's definition from the global config into the profile. */ export declare function addProfileMcpFromGlobal(name: string, server: string): void; /** Define a server inline in the profile (overwrites any existing entry). */ export declare function addProfileMcpInline(name: string, server: string, def: McpServerDef): void; /** Remove a server from the profile. Throws if it isn't configured. */ export declare function removeProfileMcp(name: string, server: string): void;