import { OnDestroy } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BaseService } from './base.service'; import { LessifyModuleConfig } from '../lessify.config'; import { LessifyLoggerService } from './logger.service'; import * as i0 from "@angular/core"; export interface Configurations { [key: string]: Configuration; } export type Configuration = string | number | boolean; export declare class LessifyConfigurationService extends BaseService implements OnDestroy { private readonly httpClient; private readonly logger; protected readonly config: LessifyModuleConfig; private configurations; private configurationsEvents; private configurationEvents; configsChanges$: Observable; configChanges$: Observable; constructor(httpClient: HttpClient, logger: LessifyLoggerService, config: LessifyModuleConfig); get(id: string): Configuration | undefined; getAll(): Configurations; set(id: string, value: Configuration): void; sync(): void; /** * get Configurations * examples: * { * "boolean": true, * "date": "2020-02-20", * "text": "any value", * "number": 1 * } */ fetch(): Observable; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }