/** * Parse a string env var value into a boolean using the strtobool set: * * truthy: 1 / true / t / yes / y / on * falsy: 0 / false / f / no / n / off * * Case-insensitive. Leading / trailing whitespace tolerated. The set * is the same one Python's `distutils.util.strtobool` uses and that * envalid's `bool()` accepts. v1.17 B-03. * * On unrecognized non-empty input, emits a one-time stderr warning * naming the env var and falls back to `defaultValue`. The warning is * suppressed when `MEMORYDETECTIVE_SUPPRESS_PLATFORM_ADVISORY=1` is set * (consistent with the rest of our advisory plumbing). * * `varName` is required so the warning surfaces a useful message; pass * the literal env var name (e.g. "MEMORYDETECTIVE_AUTO_OPEN_INSTRUMENTS") * even if you read it from another source. */ export declare function parseBooleanEnv(raw: string | undefined, defaultValue: boolean, varName: string): boolean; /** Test-only: reset the once-per-var warning flag set. */ export declare function resetParseBooleanEnvWarningsForTests(): void;