import { v as parseStrictNonNegativeInteger } from "./number-coercion-CU7MBp2A.js";
import "./parse-finite-number-D0XNMNbx.js";
//#region src/tui/local-run-shutdown.ts
const LOCAL_RUN_SHUTDOWN_GRACE_MS = 12e4;
function resolveLocalRunShutdownGraceMs() {
	const raw = process.env.NODMIX_TUI_LOCAL_RUN_SHUTDOWN_GRACE_MS?.trim();
	const parsed = parseStrictNonNegativeInteger(raw);
	if (parsed !== void 0) return parsed;
	return LOCAL_RUN_SHUTDOWN_GRACE_MS;
}
//#endregion
export { resolveLocalRunShutdownGraceMs as t };
