export default class UserConfig { /** * Use config Class to handle the config file * @param {Object|string|any} */ configPath: string; private defaultConfig; /** * * @param {string} dir The config directory */ constructor(dir: string); /** * * @param {any} config The content to write in file */ write(config: any): void; /** * * @param {any} config The content to write in file */ writeAll(config: any): void; /** * clear method to overwrite the file */ clear(): void; /** *The read method * @param {string} key The specified key that you want to get * @param {any} firstValue The default value * @return {any} Config value */ read(key: string, firstValue?: any): any; /** * ReadAll method * @return {any} */ readAll(): any; }