/**
 * Shared MCP server config loader.
 *
 * Reads canonical MCP server JSON files from a skillset's mcp/ directory,
 * filters them by the active agent's worksWith list, and writes the
 * agent-specific format(s) to the appropriate location(s) — project scope
 * (in installDir) or user scope (in homedir).
 *
 * Each agent's binding (output paths + merge strategies) is supplied by
 * the agent's getLoaders() so format-specific quirks (Codex Option B,
 * settings.json merging, etc.) live with the agent definition.
 */
import { type McpTargetFormat } from "../../../cli/features/shared/mcpEmitter.js";
import type { AgentLoader } from "../../../cli/features/agentRegistry.js";
export type McpMergeStrategy = "whole-file" | "merge-mcp-servers-key" | "merge-toml-table";
export type CreateMcpLoaderArgs = {
    format: McpTargetFormat;
    projectFile: (args: {
        installDir: string;
    }) => string;
    projectMergeStrategy: McpMergeStrategy;
    userFile: () => string;
    userMergeStrategy: McpMergeStrategy;
};
export declare const createMcpLoader: (args: CreateMcpLoaderArgs) => AgentLoader;
//# sourceMappingURL=mcpLoader.d.ts.map