declare const _default: ConfigService; export default _default; /** * Service for managing condig file */ declare class ConfigService { /** * Récupère le fichier de configuration pour une application donnée. * @param {string} app - Le nom de l'application (ex: "espaces"). * @param {string} filename - Le nom du fichier de configuration (ex:"env-config.json") * @returns {Promise} Une promesse qui se résout avec l'objet de configuration. */ getConfig(app: string, filename: string): Promise; /** * Met à jour le fichier de configuration sur le serveur. * @param {string} app - Le nom de l'application. * @param {string} filename - Le nom du fichier de configuration (ex:"env-config.json") * @param {Object} configObject - L'objet de configuration complet à sauvegarder. * @returns {Promise} Une promesse qui se résout avec la réponse du serveur. */ updateConfig(app: string, filename: string, configObject: any): Promise; /** * Validates a value against a type. * Returns an error message (string) on failure, or null if it is valid. */ validateValueByType(value: any, type: any): any; } //# sourceMappingURL=ConfigService.d.ts.map