import type { OpenClawConfig } from "../config/types.openclaw.js"; import type { PluginBundleFormat } from "./manifest-types.js"; export type BundleMcpServerConfig = Record; export type BundleMcpConfig = { mcpServers: Record; }; export type BundleMcpDiagnostic = { pluginId: string; message: string; }; export type EnabledBundleMcpConfigResult = { config: BundleMcpConfig; diagnostics: BundleMcpDiagnostic[]; }; export type BundleMcpRuntimeSupport = { hasSupportedStdioServer: boolean; supportedServerNames: string[]; unsupportedServerNames: string[]; diagnostics: string[]; }; export declare function extractMcpServerMap(raw: unknown): Record; export declare function inspectBundleMcpRuntimeSupport(params: { pluginId: string; rootDir: string; bundleFormat: PluginBundleFormat; }): BundleMcpRuntimeSupport; export declare function loadEnabledBundleMcpConfig(params: { workspaceDir: string; cfg?: OpenClawConfig; }): EnabledBundleMcpConfigResult;