import { TranslocoService } from '@jsverse/transloco'; import { SpiderlyFormArray, SpiderlyFormControl, SpiderlyFormGroup } from '../components/spiderly-form-control/spiderly-form-control'; import { BaseEntity, SchemaAwareConstructor } from '../entities/base-entity'; import { SpiderlyMessageService } from './spiderly-message.service'; import { ValidatorAbstractService } from './validator-abstract.service'; import * as i0 from "@angular/core"; export declare class BaseFormService { private validatorService; private messageService; private translocoService; constructor(validatorService: ValidatorAbstractService, messageService: SpiderlyMessageService, translocoService: TranslocoService); initFormGroup: (formGroup: SpiderlyFormGroup, targetClass: SchemaAwareConstructor, initialValues?: T, updateOnChangeControls?: (keyof T)[]) => SpiderlyFormGroup; getTranslatedLabel(formControlName: string): string; addNewFormGroupToFormArray(formArray: SpiderlyFormArray, targetClass: SchemaAwareConstructor, initialValues: T, index: number): SpiderlyFormGroup; removeFormControlFromTheFormArray(formArray: SpiderlyFormArray, index: number): void; initFormArray(formArray: SpiderlyFormArray, targetClass: SchemaAwareConstructor, initialValues?: T[]): SpiderlyFormArray; showInvalidFieldsMessage: () => void; generateNewNegativeId(formArray: SpiderlyFormArray): number; getSaveBodyMainDTOKey: (saveBodyClass: SchemaAwareConstructor) => string; mapMainUIFormToSaveBody: (mainUIFormClass: SchemaAwareConstructor, mainUIFormValues: TMainUIForm) => TSaveBody; isControlValid(control: SpiderlyFormControl | SpiderlyFormGroup | SpiderlyFormArray, controlNamesFromHtml?: string[]): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }