import { UntypedFormGroup } from '@angular/forms';
import { Observable } from 'rxjs';
import { ControlMapper, FormState, GroupDefine } from './types';
import * as i0 from "@angular/core";
export declare class DynamicFormService {
    buildForm(define: GroupDefine[], model: any, controlMapper: ControlMapper): Observable<{
        state: FormState;
        group: UntypedFormGroup;
    }>;
    private resetRelated;
    private loadOptions;
    private normalizeDefine;
    private toFormGroup;
    private optionsExpiredOrNotInitialized;
    private getInitialState;
    private toFormState;
    private checkHiddenAndRequiredChange;
    static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DynamicFormService>;
}
