import { Config } from './config.interfaces.js'; declare class ConfigService { /** * Get the config or use default value * * @param {string} path * @param {any} defaultValue * @returns {any} */ static get(path: string, defaultValue?: T): T; /** * Check if the config exists * * @param {string} path * @returns {boolean} */ static has(path: string): boolean; /** * ALLOW_CONFIG_MUTATIONS=true */ /** * Set module config value at runtime * * __Note:__ * This only works if the "ALLOW_CONFIG_MUTATIONS" environment variable is set * * @param {string} moduleName * @param {Config} moduleConfig * @returns {void} */ static setModuleConfig(moduleName: string, moduleConfig: Config): void; has(path: string): boolean; get(path: string, defaultValue?: T): T; setModuleConfig(moduleName: string, moduleConfig: Config): void; } export { ConfigService };