import { HttpStatus } from '../enums'; /** * Union type of all error HTTP status codes */ export type ErrorHttpStatusCode = HttpStatus.BAD_GATEWAY | HttpStatus.BAD_REQUEST | HttpStatus.CONFLICT | HttpStatus.FORBIDDEN | HttpStatus.GATEWAY_TIMEOUT | HttpStatus.GONE | HttpStatus.IM_A_TEAPOT | HttpStatus.INTERNAL_SERVER_ERROR | HttpStatus.LENGTH_REQUIRED | HttpStatus.METHOD_NOT_ALLOWED | HttpStatus.NOT_ACCEPTABLE | HttpStatus.NOT_FOUND | HttpStatus.NOT_IMPLEMENTED | HttpStatus.PAYMENT_REQUIRED | HttpStatus.PROXY_AUTHENTICATION_REQUIRED | HttpStatus.REQUEST_TOO_LONG | HttpStatus.PRECONDITION_FAILED | HttpStatus.REQUEST_TIMEOUT | HttpStatus.SERVICE_UNAVAILABLE | HttpStatus.UNAUTHORIZED | HttpStatus.UNPROCESSABLE_ENTITY | HttpStatus.UNSUPPORTED_MEDIA_TYPE; /** * Mapping of HTTP status codes to their corresponding exception classes */ export declare const HttpErrorByCode: Record unknown>;