/** * Environment Snapshot * * Captures runtime versions (Node.js, Python, Ruby, Go, Rust, Java, etc.) * at capture time. On replay, compares against the replayer's environment * and warns about mismatches that could affect reproduction. */ interface RuntimeVersion { name: string; version: string; path?: string; } export interface EnvSnapshot { /** Node.js runtime */ node: RuntimeVersion | null; /** Python runtime */ python: RuntimeVersion | null; /** Ruby runtime */ ruby: RuntimeVersion | null; /** Go runtime */ go: RuntimeVersion | null; /** Rust/cargo runtime */ rust: RuntimeVersion | null; /** Java runtime */ java: RuntimeVersion | null; /** OS info */ os: { platform: string; release: string; arch: string; }; /** npm version (if available) */ npm: RuntimeVersion | null; /** pip version (if available) */ pip: RuntimeVersion | null; } /** * Captures the current development environment snapshot. * Each probe is fast (<100ms) and never throws. */ export declare function captureEnvSnapshot(): EnvSnapshot; /** * Compares two environment snapshots and returns mismatches. */ export declare function compareEnvSnapshots(captured: EnvSnapshot, current: EnvSnapshot): EnvMismatch[]; export interface EnvMismatch { runtime: string; severity: 'error' | 'warning' | 'info'; message: string; capturedVersion: string | null; currentVersion: string | null; } export {}; //# sourceMappingURL=env-snapshot.d.ts.map