/** * 0.19.0-α.13 — single env-var knob for "don't write to the * consumer's GitHub repo." Used when a slowcook maintainer (or * anyone debugging) replays a slowcook command on someone else's * repo — clones, checks out, runs the LLM, gets a verdict, but * never commits / pushes / comments / labels / closes. * * This complements per-command `--dry-run` flags. A command's * `--dry-run` typically gates SOME local writes (e.g., persisting * a verdict file in `.brewing/`); SLOWCOOK_READ_ONLY gates remote * writes specifically. Both can be set together. * * Pure: just inspects process.env. Tested in isolation. */ export declare function isReadOnlyMode(env?: NodeJS.ProcessEnv): boolean; /** * Log-once wrapper: when read-only mode is on, print a single banner * to stderr identifying the command. Idempotent: caller can call * once at command entry; further log-once is the caller's job. */ export declare function logReadOnlyBanner(commandName: string): void; //# sourceMappingURL=read-only.d.ts.map