import { Response } from 'express'; export declare const friendlyHttpStatus: { [x: string]: string; }; declare const success: (res: Response, data: any, code?: number) => Response>; declare const paginated: (res: Response, data: any, code?: number) => Response>; declare const error: (res: Response, error?: string | any, code?: number, errorCode?: string) => Response>; export type OkResponse = { data?: any; locale?: { fromLocale?: string; toLocale?: string; fields?: string[]; }; statusCode?: number; responseCode?: string; [x: string]: any; }; export type ErrorResponse = { error?: string; locale?: { fromLocale?: string; toLocale?: string; }; statusCode?: number; errorCode?: string; [x: string]: any; }; declare const ok: (res: Response, response: OkResponse) => Promise>>; declare const failed: (res: Response, response: ErrorResponse) => Promise>>; export { error, paginated, success, ok, failed };