import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { FormBuilder, FormGroup, FormArray } from '@angular/forms'; import { DynamicSelectFieldConfig, SelectOption } from '../../dynamic-select/dynamic-select-field.component'; import * as i0 from "@angular/core"; export interface DocumentMapper { key: string; valueType: string; value: string; } export interface DocumentGenerationTemplateFormData { documentType: string; templateSource: string; outputVariable: string; templateOption: 'use-existing' | 'upload' | 'create-new'; mappings: DocumentMapper[]; } export declare class StepBuilderDocumentGenerationTemplateStepComponent implements OnInit, OnChanges { private fb; /** Options for document type dropdown */ documentTypeOptions: SelectOption[]; /** Options for template source dropdown */ templateSourceOptions: SelectOption[]; /** Options for value type dropdown */ valueTypeOptions: SelectOption[]; /** Emit when step is created */ createStep: EventEmitter; /** Emit when cancelled */ cancelled: EventEmitter; documentForm: FormGroup; selectedTemplateOption: 'use-existing' | 'upload' | 'create-new'; documentTypeConfig: DynamicSelectFieldConfig; templateSourceConfig: DynamicSelectFieldConfig; valueTypeConfig: DynamicSelectFieldConfig; templateSegments: { label: string; value: string; }[]; constructor(fb: FormBuilder); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; get mappingsFormArray(): FormArray; getMappingGroup(index: number): FormGroup; private updateConfigs; addMapping(): void; removeMapping(index: number): void; selectTemplateOption(option: 'use-existing' | 'upload' | 'create-new' | number): void; onTemplateOptionChange(value: string): void; onTemplateIndexChange(index: number): void; onFileSelected(file: File): void; onCreateTemplate(): void; onCancel(): void; onCreateStep(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }