import { FormatWidth, Location } from '@angular/common'; import { EventEmitter } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { ApiCallParams, CustomDialogConfig, schemeType, UserPreferences } from './core.interface'; import { SharedService } from './shared.service'; import { HelperService } from './helper.service'; import { agThemeType } from '../lib/grids/grid.interface'; import { MessageService, PrimeNGConfig } from 'primeng/api'; import { ActivatedRoute, Router } from '@angular/router'; import { AbstractCoreService } from './abstract-core'; import { TranslateService } from '@ngx-translate/core'; import { HttpClient } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class CoreService { private _document; private _locale; private _sharedService; private _helperService; private _messageService; private _router; private _activatedRoute; private _location; private _translate; private _primeConfig; constructor(_document: HTMLDocument, _locale: string, _sharedService: SharedService, _helperService: HelperService, _messageService: MessageService, _router: Router, _activatedRoute: ActivatedRoute, _location: Location, _translate: TranslateService, _primeConfig: PrimeNGConfig); isDebug: boolean; private _appName; private _subscriptions; private _listenTranslateOnce; isLoading: boolean; translationDone$: Subject<"init" | "changed">; private _scheme; private _isDarkMode; get isDarkMode(): boolean; setDarkMode(scheme: schemeType, _abstractCore?: AbstractCoreService): void; setLocale(locale: string, _abstractCore?: AbstractCoreService): void; refreshPage(loc?: Location): void; setAgTheme(theme: agThemeType, _abstractCore?: AbstractCoreService): void; loadFonts(): void; get fetchErrorCodes(): any; setAndGetUserPreferences(_abstractCore: AbstractCoreService, refresh?: boolean, sharedUserPref?: { [appProjectName: string]: UserPreferences; }): Observable; getLocaleFormat(_dateFormatWidth?: FormatWidth, _timeFormatWidth?: FormatWidth): { _locale: string; _dateDelimeter: string; _dateFormat: string; _timeFormat: string; }; createBreadcrumbs(route: ActivatedRoute): void; /** * DOWNLOAD * @param s * @returns */ private _s2ab; /** * DOWNLOAD * @param res * @param file_type */ downloadFile(res: any, file_type?: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class ApiCallService { private _messageService; private _eagnaListner; private _helper; private _http; constructor(_messageService: MessageService, _eagnaListner: EagnaListener, _helper: HelperService, _http: HttpClient); private _caller; execute(apiCallParams: ApiCallParams | undefined, requireToken?: boolean, p?: any, pipeMapForGrid?: boolean, nextPage?: boolean): Promise<{ [key: string]: any; p?: any; }>; kill(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class EagnaListener { constructor(); authLogout$: EventEmitter; customDialogOpened$: EventEmitter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }