/** * `graph-shard-worker ` — the per-shard build subprocess. * * One worker process builds ONE shard: it reads a {@link ShardWorkerSpec} * JSON file, runs parse → walk → resolve over the shard's explicit file * set (requesting cross-boundary descriptors), and writes a serializable * {@link ShardBuildResult} JSON to stdout. The parent (the shard runner) * spawns N of these under a concurrency cap and merges their fragments. * * This is an internal command, not a user-facing one — the shard runner * invokes `node graph-shard-worker `. It exists as a * subcommand so the worker runs inside the bootstrapped CLI scope (the * language-adapter registry is populated), letting `pickAdapter` resolve * the adapter exactly as the main build does. * * The boundary is JSON only: no `ts.Node` / `ts.Program` ever crosses it. */ import type { ToolCliContext } from '@opensip-cli/core'; /** * Build one shard and emit its `ShardBuildResult` as JSON on stdout. * Exits non-zero (via setExitCode) on failure so the parent can attribute * the error to this shard. */ export declare function executeShardWorker(specPath: string, cli: ToolCliContext): Promise; //# sourceMappingURL=shard-worker.d.ts.map