/// /** * This is an object that represents the configuration stored on disk. * Feel free to add more fields when necessary. */ export interface IConfig { avatar?: Buffer; username: string; notifyFileChange: boolean; notifyFileError: boolean; notifyUserJoin: boolean; notifyUserLeave: boolean; theme: string; } /** * A class to get the configuration that is stored on the local computer. */ export declare class Config { private static CONFIG_PATH; /** * Set a new custom path to the config.json file. * @param path the new path. */ static setPath(path: string): void; /** * Returns the configuration as an IConfig object. */ static get(): Promise; /** * Updates the configuration. * @param config the new updated configuration. */ static update(config: IConfig): Promise; }