import { Observable } from 'rxjs'; import { FormGroup, FormArray, AbstractControl } from "react-reactive-form"; declare type ErrorType = 'required' | 'email' | 'min' | 'max'; export declare class BigFormService { private store; bigForm: FormGroup; private _errorMessages; bigFormErrors: {}; constructor(store: any); initForm(): void; get errorMessages(): {}; addErrorMessage(controlName: string, errorType: ErrorType, message: string): void; addSimpleValueToFormModel(controlName: string, value: any): void; addObjectToFormModel(controlName: string, obj: any): void; patchToForm(sourceObservable: Observable, fieldMaps: { [key: string]: string; }): Observable; getSourceValue(source: any, fieldPath: string): any; patchValues(formValues: { [key: string]: any; }): void; addControls(formValues: { [key: string]: any; }): void; addControl(controlName: string, control: AbstractControl): void; getControl(controlPath: string): AbstractControl; getControlForValidation(controlPath: string): AbstractControl; setControl(controlPath: string): void; getFormGroupErrors(form: FormGroup | FormArray): any; getErrorMessagesForDisplay(errorMessages: { [key: string]: string; }): any; retrieveErrors$(): void; } export {}; //# sourceMappingURL=big-form-service.d.ts.map