import Result from './Result'; import { IContext, BaseContext } from '../types/IContext'; import { IRequest } from '../types/IRequest'; import { IResponse } from '../types/IResponse'; export declare class BaseController implements BaseContext { readonly ctx: IContext; constructor(ctx: IContext); req: IRequest; res: IResponse; set status(status: number); send: typeof Result.send; json: typeof Result.json; jsonp: typeof Result.jsonp; view: (viewPath: string, locals?: { [key: string]: any; }) => Promise>; stream: typeof Result.stream; download: typeof Result.download; redirect: typeof Result.redirect; get userAgent(): any; get param(): any; setHeader(name: string | any, value: string | string[]): void; getHeader(name: string | any): any; }