import { Request, Response } from "express"; import { IShamanAuthService } from "./services/shaman-auth.service"; export declare class AuthorizeControllerBase { private authService; private permissions; constructor(authService: IShamanAuthService, permissions?: string[]); protected authorize: (req: Request, _res: Response, next: any) => void; protected getEmailFromToken: (req: Request) => string; private notAuthorized; }