import { Dictionary } from "../utils/Dictionary"; import { NextFunction } from "connect"; export interface IController extends Function { endpoint: string; config: any; methods: Dictionary; } export declare class HttpContext { req: { [x: string]: any; }; res: { [x: string]: any; }; body: { [x: string]: any; }; params: { [x: string]: any; }; query: { [x: string]: any; }; cookies: { [x: string]: any; }; user: { [x: string]: any; }; session: { [x: string]: any; }; next: NextFunction; constructor(req: Request, res: Response, next: NextFunction); } export declare class BaseController { HttpContext: HttpContext; constructor(req: Request, res: Response, next: NextFunction); }