import GirafeSingleton from '../base/GirafeSingleton'; declare class GirafeConfig { general: { locale: string; }; languages: { [key: string]: string; }; themes: { url: string; defaultTheme: string; imagesUrlPrefix: string; }; basemaps: { show: boolean; defaultBasemap: string; OSM: boolean; SwissTopoVectorTiles: boolean; }; treeview: { useCheckboxes: boolean; useLegendIcons: boolean; hideLegendWhenLayerIsDeactivated: boolean; defaultIconSize: { width: number; height: number; }; }; search: { url: string; }; print: { url: string; defaultLayout: string; }; selection: { defaultFillColor: string; defaultStrokeColor: string; defaultStrokeWidth: number; defaultFocusFillColor: string; defaultFocusStrokeColor: string; defaultFocusStrokeWidth: number; }; redlining: { defaultFillColor: string; defaultStrokeColor: string; defaultStrokeWidth: number; defaultTextSize: number; defaultFont: string; }; projections: { [key: string]: string; }; map: { srid: string; startZoom: string; startPosition: string; maxExtent: string; scales: number[]; constraintScales: boolean; showScaleLine: boolean; }; map3d?: { terrainImagery: { url: string; minLoD: number | undefined; maxLoD: number | undefined; coverageArea: number[] | undefined; }; tilesetsMaxError: number | undefined; terrainUrl: string; tilesetsUrls: string[]; }; /** * Creates the configuration of the app validating the json passed or giving default values. * * Every property of config that is not complying with GirafeConfig type is ignored. * @param config the configuration */ constructor(config: GirafeConfig); } declare class ConfigManager extends GirafeSingleton { #private; get Config(): GirafeConfig; loadConfig(): Promise; } export default ConfigManager;