/** * Configuration manager for the Agentis framework */ export declare class ConfigManager { private static instance; private config; private logger; /** * Private constructor (use getInstance() instead) */ private constructor(); /** * Gets the singleton instance of the config manager * * @returns The config manager instance */ static getInstance(): ConfigManager; /** * Gets a configuration value * * @param key - The key to get * @param defaultValue - Default value if not found * @returns The configuration value, or defaultValue if not found */ get(key: string, defaultValue?: T): T; /** * Sets a configuration value * * @param key - The key to set * @param value - The value to set */ set(key: string, value: any): void; /** * Checks if a configuration value exists * * @param key - The key to check * @returns Boolean indicating if the key exists */ has(key: string): boolean; /** * Gets all configuration values * * @returns All configuration values */ getAll(): Record; /** * Loads configuration from a file * * @param filePath - Path to the configuration file * @returns Boolean indicating if loading was successful */ loadFromFile(filePath: string): boolean; /** * Loads environment variables from .env file */ private loadEnvironmentVariables; }