import { ElementRef, TemplateRef } from '@angular/core';
import { Params } from '@angular/router';
import { Guid } from '../../../../classes/Guid';
import { ConflictViewer, SideNavList, SideNavWidgetConfig } from '../../../../interfaces/DisplayInterfaces';
import { DataPolicy, NameValue, WidgetConfiguration } from '../../../../interfaces/WidgetInterfaces';
import { AppStateService } from '../../../../services/AppStateService';
import { ClientSettingsService } from '../../../../services/ClientSettingsService';
import { DisplayStateService } from '../../../../services/DisplayStateService';
import { WebPlatformApiService } from '../../../../services/WebPlatformApiService';
import { BaseWidget } from '../../BaseWidget/BaseWidget.component';
export declare class MasterConfigurationComponent extends BaseWidget {
    protected element: ElementRef;
    protected clientSettingsService: ClientSettingsService;
    protected displayStateService: DisplayStateService;
    protected appStateService: AppStateService;
    protected webPlatformApiService: WebPlatformApiService;
    private dataChangedFlag;
    dataPolicyList: DataPolicy[];
    widgetConfigurationList: WidgetConfiguration[];
    sideNavWidgetConfig: SideNavWidgetConfig;
    filteredDataPolicyList: DataPolicy[];
    filteredWidgetConfigurationList: WidgetConfiguration[];
    filteredSideNavWidgetConfig: SideNavWidgetConfig;
    selectedDataPolicy: DataPolicy;
    selectedWidgetConfiguration: WidgetConfiguration;
    selectedSideNav: SideNavList;
    sideNavListCollapsed: boolean;
    widgetConfigListCollapsed: boolean;
    dataPolicyListCollapsed: boolean;
    guid: Guid;
    filter: string;
    showGlobalSaveBtn: boolean;
    readOnlySideNavigation: boolean;
    readOnlyWidget: boolean;
    conflictViewerFullData: ConflictViewer;
    dbDateModified: string;
    diffBetweenConfigs: any;
    modalReftemplate: any;
    importServerUrl: string;
    importObjectType: string;
    importedConfigAll: WidgetConfiguration[] | DataPolicy[];
    selectedImportConfig: WidgetConfiguration | DataPolicy;
    importCompareTo: WidgetConfiguration | DataPolicy;
    diffCompareModal: TemplateRef<any>;
    importConfigModal: TemplateRef<any>;
    constructor(element: ElementRef, clientSettingsService: ClientSettingsService, displayStateService: DisplayStateService, appStateService: AppStateService, webPlatformApiService: WebPlatformApiService);
    onModified({typeName, widget}: {
        typeName: any;
        widget: any;
    }): void;
    onSaveDb({typeName, widget}: {
        typeName: any;
        widget: any;
    }): void;
    conflictConfigReader(category: string, compare: any): void;
    sideNavConfigReader(widget: SideNavList): void;
    widgetConfigReader(widget: WidgetConfiguration): void;
    dataPolicyConfigReader(widget: DataPolicy): void;
    triggerWhenSaveConflit(x: ConflictViewer): void;
    saveDBAfterConflict(level: string): void;
    onLocalFilterChange(newValue: string): void;
    hideModal(): void;
    onFiltersChanged(currentFilters: Params): void;
    ApplyFilter(): void;
    onInitialize(): void;
    onStateChanged(eventName: string): void;
    toggleCollapse(initial: string): boolean;
    isCollapsed(initial: string): boolean;
    InitializeSideNav(): void;
    InitializeWidgetConfig(): void;
    InitializeDataPolicy(): void;
    Ready(): boolean;
    IsActive(typeName: string, itemName: string): "" | "list-group-item-success" | "list-group-item-info" | "list-group-item-warning";
    IsSelected(typeName: string, itemName: string): boolean;
    Add(typeName: string): void;
    Import(typeName: string): void;
    checkImportUrl(): void;
    checkSelectedConfig(): void;
    importConfigObject(localOrDb: string): void;
    cancelImport(): void;
    Remove(typeName: string, itemName: string): void;
    RemoveResponse(res: any): void;
    UserSelect(typeName: string, itemName: string): void;
    checkSideNavSavedLocally(): void;
    checkWidgetSavedLocally(): void;
    Select(typeName: string, itemName: string): void;
    PublishItemSelectedMessage(name: string, value: string): void;
    onNewMessage(msgParams: Params): void;
    SetSelectedSideNavFromMessage(item: NameValue): void;
    SetSelectedWidgetConfigFromMessage(item: WidgetConfiguration): void;
    SetSelectedDataPolicyFromMessage(item: DataPolicy): void;
    CloneselectedWidgetConfiguration(): void;
    CloneselectedDataPolicy(): void;
    AvailableSideNavWidgetNames(): NameValue[];
    CanAddWidgetConfigAsSideNav(wc: WidgetConfiguration): boolean;
    AddWidgetConfigAsSideNav(wc: WidgetConfiguration): void;
    AddWidgetConfiguration(): void;
    AddPolicy(): void;
    getFreshAndReset(typeName: any): void;
}
