/** * The single canonical run-mode resolver. * * Every consumer (orchestrator, daemon startup, CLI label) derives isolation, * delivery, and autoMerge from THIS function and nowhere else. The raw * worktree/docker/pr/ship/autoMerge booleans are inputs; the frozen plan is the * one truth. Deriving autoMerge separately (the old `Boolean(ship)` scatter) is * what let `--pr` merge and let the run-mode label drift from behavior. */ type RunIsolation = 'none' | 'worktree' | 'docker'; type RunDelivery = 'none' | 'pr' | 'ship'; interface RunOptions { worktree?: unknown; docker?: unknown; pr?: unknown; ship?: unknown; autoMerge?: unknown; } interface RunPlan { isolation: RunIsolation; delivery: RunDelivery; autoMerge: boolean; } declare function resolveRunPlan(options?: RunOptions): Readonly; declare const _default: { resolveRunPlan: typeof resolveRunPlan; }; export = _default;