import { Observable } from 'rxjs/Observable'; import * as model from '../model/Loader'; import Http from '../services/Http'; /** Loader related API calls. */ export default class LoaderApi { private http; constructor(http: Http); /** * Get configuration info of peer */ autoConfigure(fromPeerUrl?: string): Observable; /** * Get status blockchain. */ loadingStatus(): Observable; /** * Get the synchronisation status of the client. */ synchronisationStatus(fromPeerUrl?: string): Observable; }