import { EventEmitter, OnInit, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { FormGroup } from '@angular/forms'; import { MatStepper } from '@angular/material/stepper'; import { StepperFormConfig, DynamicFormSubmitEvent, DynamicFormField } from '../../models/form-field.model'; import { DynamicFormBuilderService } from '../../services/dynamic-form-builder.service'; import { ConditionEvaluatorService } from '../../services/condition-evaluator.service'; import * as i0 from "@angular/core"; interface SummaryItem { label: string; value: string; } interface SummarySection { stepLabel: string; stepIndex: number; items: SummaryItem[]; } export declare class StepperFormComponent implements OnInit, OnChanges { private builder; private conditionEvaluator; private cdr; private http; config: StepperFormConfig; initialValues?: Record; formSubmit: EventEmitter; formChange: EventEmitter>; stepChange: EventEmitter; /** Emitted on individual field value changes within any step */ fieldChange: EventEmitter<{ key: string; value: any; step: number; }>; /** Per-step loading state for the beforeNext guard */ guardLoading: Record; /** Per-step error message from the beforeNext guard */ guardError: Record; stepper: MatStepper; stepForms: FormGroup[]; constructor(builder: DynamicFormBuilderService, conditionEvaluator: ConditionEvaluatorService, cdr: ChangeDetectorRef, http: HttpClient); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private buildForms; private normalizeValues; isVisible(field: DynamicFormField, form: FormGroup): boolean; nextStep(i: number): void; goToStep(i: number): void; onSubmit(): void; onReset(): void; getSummary(): SummarySection[]; formatValue(field: DynamicFormField, value: any): string; getStepForm(stepIdx: number): FormGroup; getAllValues(): Record; private getAllRawValues; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};