import type { RegisteredMcpServer } from "@earendil-works/pi-coding-agent"; import { type Config } from "./config.js"; /** * Add servers that extensions registered with `pi.registerMcpServer()` to `configured`. They use * the `mcp.json` entry shape, so they go through the same validation. A server from `mcp.json` * wins over a registration of the same name, as it does in Pi's built-in MCP support. Invalid * registrations are skipped and reported in `problems`. */ export declare function withRegisteredServers(configured: Config, registered: readonly RegisteredMcpServer[], cwd: string): { config: Config; names: Set; problems: string[]; };