import { Http } from "@angular/http"; import { Observable } from "rxjs"; import "rxjs/add/observable/of"; import { IServiceConfig } from "../service.config"; import { Configuration } from "../config/config"; /** * Service used to get and save registry-related configurations. * ** * @abstract * class ConfigurationService */ export declare abstract class ConfigurationService { /** * Get configurations. * * @abstract * returns {(Observable | Promise | Configuration)} * * @memberOf ConfigurationService */ abstract getConfigurations(): Observable | Promise | Configuration; /** * Save configurations. * * @abstract * returns {(Observable | Promise | Configuration)} * * @memberOf ConfigurationService */ abstract saveConfigurations(changedConfigs: any | { [key: string]: any | any[]; }): Observable | Promise | any; } export declare class ConfigurationDefaultService extends ConfigurationService { private http; private config; _baseUrl: string; constructor(http: Http, config: IServiceConfig); getConfigurations(): Observable | Promise | Configuration; saveConfigurations(changedConfigs: any | { [key: string]: any | any[]; }): Observable | Promise | any; }