import { Request, Response } from 'express'; import ProcessDto from './ProcessDto'; interface IErrorResponse { result: string; message: string; } export declare function formatError(e: Error): IErrorResponse; export declare function createErrorResponse(req: Request, res: Response, dto: ProcessDto, e?: Error): void; export declare function createSuccessResponse(res: Response, dto: ProcessDto): void; export declare function createProcessDto(req: Request): Promise; export {};