import { OnInit } from '@angular/core';
import { NameIndex, NameValue, WidgetConfiguration } from '../../../interfaces/WidgetInterfaces';
import { WidgetGroup, WidgetRegistration } from '../../../interfaces/UserInterfaces';
import { WebPlatformApiService } from '../../../services/WebPlatformApiService';
import { DisplayStateService } from '../../../services/DisplayStateService';
export declare class WidgetRegistrationComponent implements OnInit {
    private displayStateService;
    private webPlatformApiService;
    heightSpecValues: NameValue[];
    widthSpecValues: NameValue[];
    matchingWidgetsSource: WidgetConfiguration[];
    matchingWidgets: WidgetConfiguration[];
    contextKey: string;
    widgetRegistrationCopy: WidgetRegistration;
    preferredSettingsCount: number;
    constructor(displayStateService: DisplayStateService, webPlatformApiService: WebPlatformApiService);
    Initialize(matchingWidgets: WidgetConfiguration[]): void;
    CreateContextKey(): void;
    ClearAllSelections(): void;
    Reset(): void;
    private widgetRegCopyLocal();
    GroupHeightChange(group: WidgetGroup, newValue: string): void;
    GroupWidthChange(group: WidgetGroup, newValue: string): void;
    ContextMatchedGroups(): WidgetGroup[];
    GroupWidgetsToDisplay(): WidgetGroup[];
    CanGroupUp(widgetGroup: WidgetGroup): boolean;
    GroupUp(widgetGroup: WidgetGroup): void;
    CanGroupDown(widgetGroup: WidgetGroup): boolean;
    GroupDown(widgetGroup: WidgetGroup): void;
    CanWidgetUp(group: WidgetGroup, widgetNI: NameIndex): boolean;
    WidgetUp(group: WidgetGroup, widgetNI: NameIndex): void;
    CanWidgetDown(group: WidgetGroup, widgetNI: NameIndex): boolean;
    WidgetDown(group: WidgetGroup, widgetNI: NameIndex): void;
    NormalizeIndexes(): void;
    UnavailableWidgets(): WidgetConfiguration[];
    AvailableWidgets(): WidgetConfiguration[];
    AddToNewGroup(wConfig: WidgetConfiguration): void;
    AddToGroup(wConfig: WidgetConfiguration, widgetGroup: WidgetGroup): void;
    AddToUngrouped(wConfig: WidgetConfiguration): void;
    AddToHidden(wConfig: WidgetConfiguration): void;
    ClearGroup(widgetGroup: WidgetGroup): void;
    private _removeFromAllGroups(widgetName);
    private _removeFromGroup(widgetName, widgetGroup);
    NewGroup(setHidden?: boolean): WidgetGroup;
    AddToMatching(wConfig: WidgetConfiguration): void;
    ngOnInit(): void;
    WidgetIsGrouped(widgetName: string): boolean;
    WidgetIsInGroup(widgetName: string, widgetGroup: WidgetGroup): boolean;
    WidgetNameIndexesFor(widgetGroup: WidgetGroup): NameIndex[];
    WidgetsFor(widgetGroup: WidgetGroup): string[];
    UsePreferred(): void;
    SavePreferred(): void;
    Save(): void;
}
