import type { McpServerConfig } from './types.js'; import type { McpServerLayer } from './env-containment.js'; export interface McpConfigFile { mcpServers?: Record; } export interface LoadedMcpConfig { mcpServers: Record; sources: string[]; warnings: string[]; serverLayers: Record; userAllowSecretEnv: Record; } export declare function getMcpConfigPath(): string; export declare function getProjectMcpConfigPath(cwd?: string): string | null; export declare function discoverPluginMcpConfigs(pluginsRoot?: string): string[]; export declare function loadMcpConfigFile(path: string): LoadedMcpConfig; export interface LoadMcpConfigOptions { cwd?: string; pluginsRoot?: string | null; cliOverride?: string; skipUserGlobal?: boolean; skipProjectLocal?: boolean; importedMcpConfigs?: string[]; } export declare function loadMcpConfig(opts?: LoadMcpConfigOptions): LoadedMcpConfig;