export type RuntimeProcess = typeof import("node:process"); /** * Detect a real Node/Bun process object. * Browser bundles may inject `window.process = { env: {} }`, which is not enough * to safely call process APIs like cwd(), exit(), or on(). */ export declare function testHasRuntimeProcess(processLike: unknown): processLike is RuntimeProcess; export declare const runtimeProcess: RuntimeProcess | null; /** * The host environment record, captured before any narrower view is installed * over `process.env`. * * Host-scoped accessors read through this reference so that installing a * scoped view over `process.env` cannot redirect them. */ export declare const hostProcessEnv: RuntimeProcess["env"] | null; export declare function isWindowsPlatform(): boolean; //# sourceMappingURL=runtime-process.d.ts.map