import type { Env } from "./variables.js"; /** * A stage's env for the length of its run, in this process. Stages run one at * a time, so the agent, its shell and every child it starts read it from * `process.env` like a spawned stage would. The object is kept: Node's env * coerces values to strings, and on Windows its keys are case-insensitive. */ export declare class StageEnv { private readonly vars; constructor(vars: Env); run(work: () => Promise): Promise; private replace; }