import { Observable } from 'rxjs'; import { HttpResponseBase } from '@angular/common/http'; export declare class SwaggerException extends Error { message: string; status: number; response: string; headers: { [key: string]: any; }; result: any; constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any); protected isSwaggerException: boolean; static isSwaggerException(obj: any): obj is SwaggerException; } export declare function throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): Observable; export declare function blobToText(blob: any): Observable; export declare function processStatus(response: HttpResponseBase): Observable;