/**
 * olam mcp serve — Run the olam MCP server (stdio transport).
 *
 * Claude Code wires this via `claude mcp add olam --scope user -- npx -y @pleri/olam-cli mcp serve`.
 *
 * Consumes the publish-time bundle at `packages/cli/dist/mcp-server.js` (Decision 27
 * in `docs/plans/olam-continuous-distribution/`). The bundle's top-level
 * `main().catch(...)` invocation auto-runs the stdio loop on import.
 *
 * Path resolution accounts for both runtime layouts:
 *   1. Dev / tsc-only: this file is at `dist/commands/mcp/serve.js`, so the
 *      bundle sibling lives two levels up: `dist/mcp-server.js`.
 *   2. Published / `bundle-cli.mjs` output: the CLI is bundled into a single
 *      `dist/index.js`, so this code is inlined and `import.meta.url` points
 *      to `dist/index.js`. The bundle is then a direct sibling.
 * We probe both candidates so the same binary works in dev AND from a
 * published tarball.
 */
import type { Command } from 'commander';
export declare const BUNDLE_PATH_CANDIDATES: readonly string[];
export declare function resolveBundlePath(candidates?: readonly string[], exists?: (p: string) => boolean): string | null;
export declare function registerMcpServe(cmd: Command): void;
//# sourceMappingURL=serve.d.ts.map