import { HttpClient } from '@angular/common/http'; /** * Config object (read from JSON). */ export declare class CustomConfig { private origin; private http; private static CONFIG_FOLDER; private static CONFIG_FILE_SUFFIX; private static CONFIG_FILE_PROD; private static CONFIG_FILE_DEV; private _isLoaded; private _config; private _fileName; constructor(origin: string, // Needed for SSR http: HttpClient); private getConfigFile; loadConfig(configFile: (string | null)): Promise; /** * Use to get the data found in the second file (config file) */ get(key: string): (Object | null); getString(key: string): (string | null); getNumber(key: string, defaultVal?: number): number; getBoolean(key: string): boolean; load(): Promise; }