import { Command } from "commander"; import type * as McpModule from "./mcp.js"; export declare const rewrapMcpLoadError: (loadError: unknown) => Error; /** * Build the CLI. `loadMcp` is injectable so tests can supply a stub MCP module * without globally mocking `./mcp.js` — a process-wide `mock.module` there leaks * into other test files and can't be reliably reverted. When omitted, the `mcp` * subcommand lazily dynamic-imports the module, so the optional * `@modelcontextprotocol/sdk` dependency is only pulled in when it actually runs. */ export declare const buildProgram: (loadMcp?: () => Promise) => Command; //# sourceMappingURL=program.d.ts.map