import { OnInit } from '@angular/core';
import { SharedService } from '@memberjunction/ng-shared';
import { DialogRef } from '@progress/kendo-angular-dialog';
import * as i0 from "@angular/core";
export interface EntitySelectorConfig {
    entityName: string;
    title: string;
    displayField: string;
    descriptionField?: string;
    statusField?: string;
    filters?: string;
    orderBy?: string;
    icon?: string;
}
export declare class EntitySelectorDialogComponent implements OnInit {
    private sharedService;
    dialogRef: DialogRef;
    config: EntitySelectorConfig;
    entities: any[];
    filteredEntities: any[];
    selectedEntity: any;
    searchText: string;
    isLoading: boolean;
    constructor(sharedService: SharedService, dialogRef: DialogRef);
    ngOnInit(): Promise<void>;
    loadEntities(): Promise<void>;
    onSearchChange(): void;
    selectEntity(entity: any): void;
    onSelect(): void;
    createNew(): void;
    onCancel(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<EntitySelectorDialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<EntitySelectorDialogComponent, "mj-entity-selector-dialog", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=entity-selector-dialog.component.d.ts.map