import { Store } from "@ngrx/store"; import { IAppState } from "../app-store/state/app.state"; import { Presenter } from "../../api/internal/presenter/presenter"; import { IConfiguration } from "../app-store/state/configuration/configuration.state"; import * as i0 from "@angular/core"; /** * Сервис управления конфигурациями приложения */ export declare class ConfigurationManager { private _store; presenter: Presenter; private localhostConfiguration; localHostReplaceHost: string; constructor(_store: Store, presenter: Presenter); setLocalHostConfiguration(configuration: IConfiguration): void; getLocalhostConfiguration(): IConfiguration; /** * Загрузить конфигурацияю для хоста * @param host - домен или ip для которого будет загружена конфигурация */ loadConfigurationForHost(host?: string, protocol?: string, port?: string): void; /** * Получить полный URL для конкретного api * @param api */ getApiUrl(api: string): string; setHost(host: string): void; /** * Получить текущую тему */ get theme(): string; get realm(): string; get supportEmail(): string; /** * Получить текущую конфигурацию */ get configuration(): IConfiguration; /** * Получить текущий домен */ get domainUrl(): string; /** * Получить текущий домен c портом */ get domainUrlWithPort(): string; /** * получить путь вместе с темой для иконок */ get appLogoPath(): string; /** * получить путь вместе с темой для лого */ get imgLogoPath(): string; /** * получить путь вместе с темой для иконок приложений */ get moduleLogoPath(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }