import { Request, RequestHandler, Response } from "express"; import { NormalizedRequest } from "../Interfaces/NormalizedRequest"; import { NormalizedResponse } from "../Interfaces/NormalizedResponse"; export declare function normalizeRequest(req: Request): Readonly>; export declare function errorParser(message: string, Accept?: string): string; export declare function handleError(req: Request, res: Response): (err: any) => void; export declare function flatMapPromise(promisies: Array<(param: T) => Promise>, start: T): Promise; export declare function handler(handler: (req: NormalizedRequest) => Promise): RequestHandler; export declare function handlerMiddlewares(middlewares: Array<((req: NormalizedRequest) => Promise>)>): RequestHandler;