import { NextFunction, Request, Response } from 'express'; export declare class UserRequestConstrainsMWs { static forceSelfRequest(req: Request, res: Response, next: NextFunction): void; static notSelfRequest(req: Request, res: Response, next: NextFunction): void; /** * Nobody can change or delete a user with a role above their own (e.g. an Admin can't touch a Developer). */ static notAboveOwnRole(req: Request, res: Response, next: NextFunction): Promise; }