/**
 * Base Controller
 * All controllers extend this class
 */
import type { IRequest } from './Request';
import type { IResponse } from './Response';
export interface IController {
    json(res: IResponse, data: unknown, statusCode?: number): void;
    error(res: IResponse, message: string, statusCode?: number): void;
    redirect(res: IResponse, url: string, statusCode?: number): void;
    param(req: IRequest, name: string): string | undefined;
    query(req: IRequest, name: string): string | string[] | undefined;
    body(req: IRequest): unknown;
}
/**
 * Base Controller
 * Sealed namespace for immutability
 */
export declare const Controller: IController;
//# sourceMappingURL=Controller.d.ts.map