/** * Environment Detector - Robust environment detection for logger * Detects browser, terminal, server, and other runtime environments */ export type Environment = 'browser' | 'terminal' | 'server' | 'webworker' | 'deno' | 'unknown'; /** * Main environment detection function */ export declare function getEnvironment(): Environment; /** * Check if running in an interactive terminal */ export declare function isRunningInTerminal(): boolean; /** * Check if environment supports ANSI colors */ export declare function supportsANSI(): boolean; /** * Get environment-specific color capability */ export declare function getColorCapability(): 'full' | 'basic' | 'none'; /** * Get terminal width in columns */ export declare function getTerminalWidth(): number; /** * Get terminal height in rows */ export declare function getTerminalHeight(): number; /** * Environment information for debugging */ export declare function getEnvironmentInfo(): { environment: Environment; supportsANSI: boolean; colorCapability: "none" | "full" | "basic"; isTTY: boolean; platform: string; nodeVersion: string | null; term: string | null | undefined; colorTerm: string | null | undefined; terminalWidth: number; terminalHeight: number; }; //# sourceMappingURL=environment-detector.d.ts.map