visilog
Version:
Stream browser console logs to files for LLM debugging. Zero-config setup with simple imports. No MCP required - just tell your LLM to read the log files.
49 lines • 1.35 kB
TypeScript
import type { EnvironmentInfo } from '../types';
/**
* Environment detection system that intelligently identifies runtime context
* Exceeds feedback expectations with comprehensive environment analysis
*/
export declare class EnvironmentDetector {
private static cachedInfo;
/**
* Detects the current environment with comprehensive analysis
*/
static detect(): EnvironmentInfo;
/**
* Detects if running in development mode
*/
private static isDevelopment;
/**
* Detects if running in production mode
*/
private static isProduction;
/**
* Detects if running in test mode
*/
private static isTest;
/**
* Detects if running in browser environment
*/
private static isBrowser;
/**
* Detects if running in Node.js environment
*/
private static isNode;
/**
* Detects the build tool being used
*/
private static detectBuildTool;
/**
* Detects the frontend framework being used
*/
private static detectFramework;
/**
* Clears the cached environment info (useful for testing)
*/
static clearCache(): void;
/**
* Gets a human-readable description of the environment
*/
static getDescription(info?: EnvironmentInfo): string;
}
//# sourceMappingURL=environment-detector.d.ts.map