import type { Localization, TranslationOptions } from "@itwin/core-common"; import type { UserPreferencesAccess } from "@itwin/core-frontend"; export interface MapLayersConfig { localization?: Localization; /** If an iTwinConfig is provided, it will be used to load the MapLayerSources that are stored. */ iTwinConfig?: UserPreferencesAccess; } /** MapLayersUI is use when the package is used as a dependency to another app. * '''ts * await MapLayersUI.initialize({...MapLayersInitProps}); * ''' * @beta */ export declare class MapLayersUI { private static _defaultNs; static localization: Localization; private static _uiItemsProvidersId; private static _iTwinConfig?; static get iTwinConfig(): UserPreferencesAccess | undefined; /** Used to initialize the Map Layers */ static initialize(config?: MapLayersConfig): Promise; /** Unregisters internationalization service namespace and UiItemManager */ static terminate(): void; /** The internationalization service namespace. */ static get localizationNamespace(): string; static translate(key: string | string[], options?: TranslationOptions): string; } //# sourceMappingURL=mapLayers.d.ts.map