import { OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { MJAIAgentTypeEntity } from '@memberjunction/core-entities';
import { MJAIModelEntityExtended } from "@memberjunction/ai-core-plus";
import { NavigationService } from '@memberjunction/ng-shared';
import { MJDialogRef } from '@memberjunction/ng-ui-components';
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 navigationService;
    config: NewAgentConfig;
    form: FormGroup;
    isLoading$: BehaviorSubject<boolean>;
    models$: BehaviorSubject<MJAIModelEntityExtended[]>;
    agentTypes$: BehaviorSubject<MJAIAgentTypeEntity[]>;
    isSubmitting: boolean;
    /** Set by NewAgentDialogService after creation */
    dialogRef: MJDialogRef | null;
    constructor(fb: FormBuilder, navigationService: NavigationService);
    ngOnInit(): void;
    private initializeForm;
    private loadData;
    onSubmit(): Promise<void>;
    onCancel(): void;
    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