import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BaseService } from './base.service'; import { LessifyModuleConfig } from '../lessify.config'; import * as i0 from "@angular/core"; export interface Messages { [key: string]: string; } export declare class LessifyTranslationService extends BaseService { readonly httpClient: HttpClient; readonly config: LessifyModuleConfig; constructor(httpClient: HttpClient, config: LessifyModuleConfig); /** * get Translation, possible values: * - locale: specific locale id from space * - 'all': in one call you will receive all locales in next format * { * 'en': { * 'key1': 'value1' * }, * 'de': { * 'key1': 'value1' * } * } */ fetch(locale: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }