import { EventEmitter, OnInit } from '@angular/core';
import { StepProperty } from '../../models/step.model';
import { PromptManagerService, CustomPrompt } from '../../services/prompt-manager.service';
import * as i0 from "@angular/core";
export declare class PromptEditorComponent implements OnInit {
    private promptManager;
    promptId?: string;
    isNew: boolean;
    save: EventEmitter<CustomPrompt>;
    cancel: EventEmitter<void>;
    promptName: string;
    properties: StepProperty[];
    propertyTypes: {
        value: string;
        label: string;
    }[];
    constructor(promptManager: PromptManagerService);
    ngOnInit(): void;
    addProperty(): void;
    removeProperty(index: number): void;
    updatePropertyType(property: StepProperty): void;
    addSelectOption(property: StepProperty): void;
    removeSelectOption(property: StepProperty, index: number): void;
    savePrompt(): void;
    onCancel(): void;
    sanitizeKey(event: any, property: StepProperty): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<PromptEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<PromptEditorComponent, "app-prompt-editor", never, { "promptId": { "alias": "promptId"; "required": false; }; "isNew": { "alias": "isNew"; "required": false; }; }, { "save": "save"; "cancel": "cancel"; }, never, never, true, never>;
}
//# sourceMappingURL=prompt-editor.component.d.ts.map