/** * @file Early-snapshot accessor for `node:os`. See `node/fs.ts` for the shared * rationale: the `require` runs at module load behind the runtime `IS_NODE` * guard (false in browsers → never executes there), giving a load-time * snapshot in Node while staying browser-safe. `getNodeOs()` returns the * module object for a late, spy-able method lookup; the frozen `Os` * snapshots below are the tamper-proof hot-path twin. They carry the * capitalized primordial spelling because that is what they are: a frozen * reference to a built-in method, same contract as `StringPrototypeCharAt`. */ import type * as NodeOs from 'node:os'; export declare function getNodeOs(): typeof NodeOs; export declare const OsArch: any; export declare const OsHomedir: any; export declare const OsPlatform: any; export declare const OsTmpdir: any;