import { EventEmitter, OnInit } from '@angular/core';
import { QueryCategoryEntity } from '@memberjunction/core-entities';
import * as i0 from "@angular/core";
interface CategoryNode {
    id: string;
    name: string;
    fullPath: string;
    children: CategoryNode[];
    level: number;
}
export declare class QueryCategoryDialogComponent implements OnInit {
    isVisible: boolean;
    isVisibleChange: EventEmitter<boolean>;
    onCategoryCreated: EventEmitter<QueryCategoryEntity>;
    categoryName: string;
    selectedParentId: string | null;
    categories: QueryCategoryEntity[];
    categoryTree: CategoryNode[];
    flattenedCategories: CategoryNode[];
    isCreating: boolean;
    ngOnInit(): Promise<void>;
    loadCategories(): Promise<void>;
    private buildCategoryTree;
    private flattenCategories;
    createCategory(): Promise<void>;
    close(): void;
    getCategoryIndent(category: CategoryNode): string;
    getFullPath(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<QueryCategoryDialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QueryCategoryDialogComponent, "mj-query-category-dialog", never, { "isVisible": { "alias": "isVisible"; "required": false; }; }, { "isVisibleChange": "isVisibleChange"; "onCategoryCreated": "onCategoryCreated"; }, never, never, false, never>;
}
export {};
//# sourceMappingURL=query-category-dialog.component.d.ts.map