/** * Runtime Detector * * Detects which runtime (bundled vs system) NCP is currently running with. * This is detected fresh on every boot to respect Claude Desktop's dynamic settings. */ export interface RuntimeInfo { /** The runtime being used ('bundled' or 'system') */ type: 'bundled' | 'system'; /** Path to Node.js runtime to use */ nodePath: string; /** Path to Python runtime to use (if available) */ pythonPath?: string; } /** * Detect which runtime NCP is currently running with. * * Strategy: * 1. Check process.execPath (how NCP was launched) * 2. Compare with known bundled runtime paths * 3. If match → we're running via bundled runtime * 4. If no match → we're running via system runtime */ export declare function detectRuntime(): RuntimeInfo; /** * Get runtime to use for spawning .dxt extension processes. * Uses the same runtime that NCP itself is running with. * * On Windows, searches PATH for executables with platform-specific extensions (.exe, .cmd, .bat). * This handles all installation methods (Scoop, Chocolatey, nvm-windows, etc.) */ export declare function getRuntimeForExtension(command: string): string; /** * Log runtime detection info for debugging */ export declare function logRuntimeInfo(): void; //# sourceMappingURL=runtime-detector.d.ts.map