import { Observable, AjaxResponse, AjaxError } from 'rxjs'; import { IApiError } from 'errors'; import { IFormatAjaxStreamParams } from './interfaces'; export declare function formatResponse(ajaxResponse: AjaxResponse): any; export declare function formatError(ajaxError: AjaxError): IApiError; export declare function formatAjaxStream(stream$: IFormatAjaxStreamParams): Observable;