import { HttpEvent, HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
/**
 * An interceptor on the response chain that normalizes differences in
 * JSON payloads between vCloud Director version 9.1 and versions
 * greater than 9.1.
 *
 * In 9.1 (API version 30.0) the server serializes JSON and nests the payload in a value field:
 * ```
  {
    "name" : "{http://www.vmware.com/vcloud/versions}SupportedVersions",
    "declaredType" : "com.vmware.vcloud.api.rest.schema.versioning.SupportedVersionsType",
    "scope" : "javax.xml.bind.JAXBElement$GlobalScope",
    "value" : {
      "versionInfo" : [],
      "any" : [],
      "otherAttributes" : {}
    }
  }
  ```
 *
 * That same request in API versions 31.0 and above is represented as:
 * ```
  {
    "versionInfo" : [],
    "any" : [],
    "otherAttributes" : {}
  }
  ```
 * This interceptor should process responses before any other interceptors that rely
 * on consistent API information.
 */
export declare class ResponseNormalizationInterceptor implements HttpInterceptor {
    private static readonly QUERY_RESULT_TYPE;
    intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ResponseNormalizationInterceptor, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ResponseNormalizationInterceptor>;
}
