export declare class ResponseError { status: number; message: string; code?: string; error?: Error; dataError?: DataError; collection?: ResponseError[]; static getErrorResponse(error: Error): ResponseError | undefined; static getReadErrorResponse(error?: { general: Error; data: DataError; }, dataErrorMessage?: string, status?: number): ResponseError | undefined; static getMessageResponse(status: number, message: string): ResponseError; static getCodedMessageResponse(status: number, code: string, message: string): ResponseError; static getCollectionResponse(collection: ResponseError[]): ResponseError; static getSpecialMessageResponse(parent: ResponseError, child: ResponseError): ResponseError; } export declare class DataError { collection: string; operation: string; id?: string; constructor(collection: string, operation: string, id?: string); }