import { NarikViewField, EntityField } from '@narik/infrastructure'; import { Type } from '@angular/core'; import { FormGroup } from '@angular/forms'; import * as i0 from "@angular/core"; export interface DynamicFormComponent { field: NarikViewField | EntityField; model: any; form: FormGroup; } export declare abstract class DynamicFormService { abstract initDynamicFormFields(fields: NarikViewField[] | EntityField[]): NarikViewField[]; abstract initDynamicFormModel(model: any): any; abstract createFieldsFromEntityFields(fields: EntityField[]): NarikViewField[]; abstract getDynamicFormComponentKeys(): string[]; abstract getDynamicFormComponent(key: string): Type; abstract addDynamicFormComponent(key: string, component: Type): any; } export declare class NarikDynamicFormService extends DynamicFormService { private dynamicFormComponent; initDynamicFormFields(fields: NarikViewField[] | EntityField[]): NarikViewField[]; initDynamicFormModel(model: any): any; createFieldsFromEntityFields(fields: EntityField[]): NarikViewField[]; getDynamicFormComponentKeys(): string[]; getDynamicFormComponent(key: string): Type; addDynamicFormComponent(key: string, component: Type): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }