import { NextFunction, Request, Response } from 'express'; import { UserRoles } from '../../../common/entities/UserDTO'; export declare class AuthenticationMWs { static tryAuthenticate(req: Request, res: Response, next: NextFunction): Promise; static authenticate(req: Request, res: Response, next: NextFunction): Promise; static normalizePathParam(paramName: string): (req: Request, res: Response, next: NextFunction) => void; static authoriseMetaFiles(paramName: string): (req: Request, res: Response, next: NextFunction) => Promise; static authoriseMedia(paramName: string): (req: Request, res: Response, next: NextFunction) => Promise; static authorise(role: UserRoles): (req: Request, res: Response, next: NextFunction) => void; static shareLogin(req: Request, res: Response, next: NextFunction): Promise; static inverseAuthenticate(req: Request, res: Response, next: NextFunction): void; static login(req: Request, res: Response, next: NextFunction): Promise; static logout(req: Request, res: Response, next: NextFunction): void; private static getSharingUser; }