/** * `fit-run-worker ` — the headless fit run forked by the live view * (ADR-0028). The live runner forks `node fit-run-worker `; * because it runs through the full CLI bootstrap, the language + tool registries, * project, and config are populated in scope exactly as a normal `fit` run — so * results are byte-identical (the reason this is a forked subcommand, not a * worker thread). * * It is headless: instead of rendering, it streams the engine's progress and its * final result over the fork IPC channel (`process.send`) as {@link WorkerMessage}s, * which the parent's subprocess transport relays to the shared `` * renderer. Persistence + egress stay on the parent (the engine is * persistence-free; Phase 2) — the worker only computes. * * Internal command — not user-facing; the live runner is its only caller. */ import { type CommandSpec, type ToolCliContext } from '@opensip-cli/core'; /** * Read the {@link FitOptions} spec, run `executeFit` headless, and stream progress * + the final result over IPC. Never throws to the caller — a failure is sent as * a `{ kind: 'error' }` message so the parent's `result` promise rejects cleanly. */ export declare function executeFitWorker(specPath: string): Promise; /** `fit-run-worker` — [internal] headless fit run, IPC progress/result. */ export declare const fitRunWorkerCommandSpec: CommandSpec; //# sourceMappingURL=fit-worker.d.ts.map