import { OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { DialogRef } from '@progress/kendo-angular-dialog';
import { NotificationService } from '@progress/kendo-angular-notification';
import { MJAIAgentTypeEntity } from '@memberjunction/core-entities';
import { MJAIModelEntityExtended } from "@memberjunction/ai-core-plus";
import { NavigationService } from '@memberjunction/ng-shared';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export interface NewAgentConfig {
    parentAgentId?: string;
    parentAgentName?: string;
    redirectToForm?: boolean;
}
export declare class NewAgentDialogComponent implements OnInit {
    private fb;
    private dialog;
    private navigationService;
    private notificationService;
    config: NewAgentConfig;
    form: FormGroup;
    isLoading$: BehaviorSubject<boolean>;
    models$: BehaviorSubject<MJAIModelEntityExtended[]>;
    agentTypes$: BehaviorSubject<MJAIAgentTypeEntity[]>;
    isSubmitting: boolean;
    constructor(fb: FormBuilder, dialog: DialogRef, navigationService: NavigationService, notificationService: NotificationService);
    ngOnInit(): void;
    private initializeForm;
    private loadData;
    onSubmit(): Promise<void>;
    onCancel(): void;
    private showSuccess;
    private showError;
    static ɵfac: i0.ɵɵFactoryDeclaration<NewAgentDialogComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NewAgentDialogComponent, "mj-new-agent-dialog", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=new-agent-dialog.component.d.ts.map