import { BaseException } from '../../exceptions'; import { ResponseBody } from '..'; import { HTTPResponder } from '../response/Responder'; import { Request, Response } from 'express'; export declare class Controller extends HTTPResponder { readonly basePath: string | null; getBasePath(): string; onException(e: BaseException, req: Request, res: Response): false | ResponseBody | Promise; }