import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
import { MJActionCategoryEntity } from '@memberjunction/core-entities';
import { BehaviorSubject } from 'rxjs';
import { BaseAngularComponent } from '@memberjunction/ng-base-types';
import * as i0 from "@angular/core";
interface CategoryWithStats extends MJActionCategoryEntity {
    actionCount?: number;
    activeActionCount?: number;
}
export declare class CategoriesListViewComponent extends BaseAngularComponent implements OnInit, OnDestroy {
    openEntityRecord: EventEmitter<{
        entityName: string;
        recordId: string;
    }>;
    isLoading: boolean;
    categories: CategoryWithStats[];
    filteredCategories: CategoryWithStats[];
    searchTerm$: BehaviorSubject<string>;
    private destroy$;
    constructor();
    ngOnInit(): void;
    ngOnDestroy(): void;
    private setupSearch;
    private loadData;
    private applyFilter;
    onSearchChange(searchTerm: string): void;
    openCategory(category: MJActionCategoryEntity): void;
    viewActions(category: MJActionCategoryEntity, event: Event): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CategoriesListViewComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CategoriesListViewComponent, "mj-categories-list-view", never, {}, { "openEntityRecord": "openEntityRecord"; }, never, never, false, never>;
}
export {};
//# sourceMappingURL=categories-list-view.component.d.ts.map