import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
import { Router } from '@angular/router';
import { MJActionCategoryEntity, MJActionEntity, MJActionParamEntity, ResourceData } from '@memberjunction/core-entities';
import { MJActionEntityExtended } from '@memberjunction/actions-base';
import { BaseResourceComponent, NavigationService } from '@memberjunction/ng-shared';
import { ActionExplorerStateService, ActionViewMode } from '../../services/action-explorer-state.service';
import { ActionTreePanelComponent } from './action-tree-panel.component';
import * as i0 from "@angular/core";
export declare class ActionExplorerComponent extends BaseResourceComponent implements OnInit, OnDestroy {
    StateService: ActionExplorerStateService;
    private navigationService;
    private router;
    private cdr;
    TreePanel: ActionTreePanelComponent;
    IsLoading: boolean;
    Actions: MJActionEntityExtended[];
    FilteredActions: MJActionEntityExtended[];
    Categories: MJActionCategoryEntity[];
    CategoriesMap: Map<string, MJActionCategoryEntity>;
    ViewMode: ActionViewMode;
    SelectedCategoryId: string;
    NewCategoryParentId: string | null;
    IsRunDialogOpen: boolean;
    SelectedActionForRun: MJActionEntity | null;
    SelectedActionParams: MJActionParamEntity[];
    private destroy$;
    private lastNavigatedUrl;
    private skipUrlUpdate;
    constructor(StateService: ActionExplorerStateService, navigationService: NavigationService, router: Router, cdr: ChangeDetectorRef);
    ngOnInit(): void;
    ngOnDestroy(): void;
    private subscribeToState;
    private subscribeToRouterEvents;
    private loadInitialState;
    private loadData;
    private applyFilters;
    private getDescendantCategoryIds;
    private sortActions;
    private updateUrl;
    private onExternalNavigation;
    onRefresh(): Promise<void>;
    onCategorySelect(categoryId: string): void;
    onNewCategory(parentId: string | null): void;
    onEditCategory(category: MJActionCategoryEntity): void;
    onNewAction(): void;
    onActionClick(action: MJActionEntityExtended): void;
    onActionEdit(action: MJActionEntityExtended): void;
    onActionRun(action: MJActionEntityExtended): Promise<void>;
    OnRunDialogClose(): void;
    onCategoryClick(categoryId: string): void;
    onCategoryCreated(category: MJActionCategoryEntity): Promise<void>;
    onActionCreated(): Promise<void>;
    GetResourceDisplayName(data: ResourceData): Promise<string>;
    GetResourceIconClass(data: ResourceData): Promise<string>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ActionExplorerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ActionExplorerComponent, "mj-action-explorer", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=action-explorer.component.d.ts.map