import HttpErrorInterface from "./HttpErrorInterface"; import HttpResponseInterface from "./HttpResponseInterface"; import HttpRequestConfigInterface from "./HttpRequestConfigInterface"; export default interface HttpMiddlewareInterface { request(config: HttpRequestConfigInterface): HttpRequestConfigInterface | Promise; response(response: HttpResponseInterface): HttpResponseInterface | Promise; responseError(responseError: HttpErrorInterface): any; }