export declare function readConfig(path: string): Promise; export declare function writeConfig(path: string, obj: any): Promise; export declare function setPath(obj: any, path: string[], newValue: string): any; export declare function config(configPath: string, key: string, value?: string): Promise; /** for testing */ export declare function createConfigUpdater(doReadConfig: (path: string) => Promise, doWriteConfig: (path: string, json: any) => Promise): (configPath: string, update: (old: any) => any) => Promise; export declare function configInPath(configFilePath: string, objPath: string[], value: any): Promise; export declare function unconfig(configPath: string, key: string): Promise;