import { InjectionToken } from '@angular/core'; /** UOF客戶類型 */ export type CustomType = 'cloud' | 'local'; export interface IMCoreConfig { /** Uof Site URL,不含 PathCode */ ServerUrl: string; /** 殼的URL ex. http://localhost or capacitor://localhost */ AppRootUrl: string; /** 由consul提供的軟體包資訊 */ PackageInfo: any; /** API 版本 */ ApiVersion: string; /** 設定公司 PathCode */ CurrentPathCode: string; /** 軟體包自動更新 flag */ PackageUpdateFlag: boolean; /** 殼自動更新 flag */ AppUpdateFlag: boolean; /** 判斷 config 是不是 Mock 出來的 */ IsMock: boolean; /** 設定 App 當前語系 */ setCurrentCulture(culture: string): void; /** 取得 App 當前語系 */ getCurrentCulture(): Promise | string; /** 客戶類型(雲端或地端) */ CustomType: CustomType; /** 返回殼首頁是否預設打開開發者模式(給前端方便開發測試用) */ AllwayShowDevContent: boolean; /** 是否有勾選指定軟體包下載站台 */ UsedCustDownloadSite: boolean; } export declare const MCORE_CONFIG: InjectionToken;