/// <reference types="qs" />
import { NextFunction, Request, RequestHandler, Response } from 'express';
import * as core from 'express-serve-static-core';
export declare const createRouter: () => core.Router;
/**
 * Type arguments:
 * - Path params
 * - Response body
 * - Request body
 * - Query params
 */
export declare const catchAsync: <P extends core.Params = core.ParamsDictionary, ResBody = any, ReqBody = any, Q = import("qs").ParsedQs>(controller: RequestHandler<P, ResBody, ReqBody, Q>) => RequestHandler;
export declare const identity: (req: Request, res: Response, next: NextFunction) => void;
