import { NextFunction, Request, Response } from 'express'; export declare class SettingsMWs { /** * General settings updating servcie * @param req * @param res * @param next */ static updateSettings(req: Request, res: Response, next: NextFunction): Promise; /** * Nobody can grant a role above their own (e.g. an Admin can't set anything to Developer). * Throws if the new settings have more role values above the role of the user than the current config. */ private static checkGrantedRoles; private static countRolesAbove; }