/** * Windows variables that let an ordinary child find executables, the command * interpreter, system DLLs, its profile and temporary storage. * * This is a fragment rather than a complete inheritance policy. MCP stdio and * LocalSandbox have different ambient grants; both need this fragment on the * Windows paths that already promise to launch a working process. */ export declare const WINDOWS_CORE_ENV_KEYS: readonly string[]; type EnvironmentSource = Readonly>; /** Read one environment entry using the host platform's key semantics. */ export declare function readEnvironmentEntry(source: EnvironmentSource, name: string, platform?: NodeJS.Platform): [name: string, value: string] | undefined; /** * Set one entry, making a later override the sole spelling on Windows. * * JavaScript objects are case-sensitive; Windows environments are not. Without * removing the earlier spelling, `{ PATH, Path }` reaches Node's spawn layer * with two apparent winners and the configured precedence becomes accidental. */ export declare function setEnvironmentEntry(target: Record, name: string, value: string, platform?: NodeJS.Platform): void; /** Copy only the named ambient entries. */ export declare function pickEnvironmentEntries(names: Iterable, source?: EnvironmentSource, platform?: NodeJS.Platform): Record; /** Apply explicit entries in insertion order; later calls therefore win. */ export declare function applyEnvironmentOverrides(target: Record, overrides: EnvironmentSource | undefined, platform?: NodeJS.Platform): void; export {}; //# sourceMappingURL=process-environment.d.ts.map