export interface WinEnvResult { /** Applied to `process.env` because nothing was set. Names only — never values. */ loaded: string[]; /** Present in the registry but already set in the environment; the environment won. */ skipped: string[]; /** True when this platform has nothing to recover (everything but win32). */ skippedPlatform: boolean; } /** Parse `reg query` output: lines of ` NAME REG_SZ value`. */ export declare function parseRegQuery(text: string): Record; /** * Fill `env` with User/Machine-scope variables it is missing. Never overwrites. * * `platform` and `read` are injectable so the behaviour is testable without a Windows registry. */ export declare function recoverWindowsEnv(env?: NodeJS.ProcessEnv, opts?: { platform?: string; read?: (key: string) => Record; }): WinEnvResult;