/** * Environment configuration for POLARIS framework */ import { LogLevel } from "./logger"; /** * API configuration for different providers */ export interface APIConfig { apiKey: string; timeout?: number; maxRetries?: number; organizationId?: string; } /** * POLARIS framework configuration loaded from environment variables */ export declare class EnvironmentConfig { static readonly OPENAI: APIConfig; static readonly ANTHROPIC: APIConfig; static readonly GOOGLE: APIConfig; static readonly OLLAMA: APIConfig; static readonly POLARIS: { logLevel: LogLevel; maxMemory: string; defaultTimeout: number; maxDepth: number; simulationsPerNode: number; explorationConstant: number; timeLimit: number; diversityThreshold: number; biasDetection: boolean; correctionStrength: number; interventionThreshold: number; }; static readonly DEVELOPMENT: { nodeEnv: string; debug: string; testTimeout: number; testAPICalls: boolean; enableMetrics: boolean; metricsPort: number; }; static readonly CHESS: { timeControl: string; openingBook: boolean; endgameTablebase: boolean; autoPlay: boolean; analysisDepth: number; showThinking: boolean; }; static readonly ADVANCED: { enableParallelAgents: boolean; maxConcurrentAgents: number; enableAgentLearning: boolean; learningRate: number; experienceBufferSize: number; enableHybridReasoning: boolean; }; /** * Check if all required API keys are present */ static validateAPIKeys(): { valid: boolean; missing: string[]; }; /** * Get configuration for a specific API provider */ static getAPIConfig(provider: "openai" | "anthropic" | "google" | "ollama"): APIConfig; /** * Check if running in development mode */ static isDevelopment(): boolean; /** * Check if running in production mode */ static isProduction(): boolean; /** * Get memory limit in bytes */ static getMemoryLimitBytes(): number; /** * Parse log level from string */ private static parseLogLevel; /** * Print configuration summary (without sensitive data) */ static printConfigSummary(): void; } /** * Utility function to safely get environment variable with default */ export declare function getEnvVar(key: string, defaultValue?: string): string; /** * Utility function to get environment variable as number */ export declare function getEnvVarAsNumber(key: string, defaultValue?: number): number; /** * Utility function to get environment variable as boolean */ export declare function getEnvVarAsBoolean(key: string, defaultValue?: boolean): boolean; //# sourceMappingURL=config.d.ts.map