import { FormBuilder, FormGroup } from '@angular/forms'; import { FieldConfig } from '../models/field-config.model'; import * as i0 from "@angular/core"; /** * Creates form fields configuration and form group based on passed parameters. * @export * @class FormUtilityService */ export declare class FormUtilityService { private fb; constructor(fb: FormBuilder); /** * Returns form fields configuration based on passed control name and type. * @param {string} controlName * @param {string} controlType * @return {FieldConfig} * @memberof FormUtilityService */ getFormFieldConfig(controlName: string, controlType: string): FieldConfig; /** * Creates and returns form group with passed control name added. * @param {string} controlName * @return {FormGroup} * @memberof FormUtilityService */ getFormGroup(controlName: string, formControlConfig?: FieldConfig): FormGroup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }