UNPKG

@cauca-911/core

Version:

Run `npm install @cauca-911/core` to add this library to your project

20 lines (19 loc) 834 B
import { TranslateService } from '@ngx-translate/core'; import { CoreModuleOptions } from './shared/models/core-module-options'; import { Configuration } from './shared/classes/configuration'; import { HttpBackend } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class CaucaCoreService { private httpBackend; private translateService; private config; private jsonIsLoaded; constructor(httpBackend: HttpBackend, translateService: TranslateService); appInitializer(coreOptions: CoreModuleOptions): Promise<void>; getConfig(): Configuration; toggleLanguage(): void; setLanguage(language: string): void; private setupLocale; static ɵfac: i0.ɵɵFactoryDeclaration<CaucaCoreService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CaucaCoreService>; }