export declare class ComponentSetupService {
    constructor();
    private formGroups;
    setupStandardProperties(component: any): void;
    /**
     * setup standard component variables. This can be called from the ngOnInit function of a component with:
     * this.componentService.setupStandardComponent(this);
     * @return the responsible control that holds the component value
     */
    setupStandardComponent(component: any, validators?: any): import("@angular/forms").AbstractControl;
    setupControl(component: any, fieldName: any, fieldValue: any, validators?: any): import("@angular/forms").AbstractControl;
    enableField(tplItem: any, formControl: any): void;
    enableFieldByFlag(enabled: boolean, formControl: any): void;
    private setupDefaultValidator;
    private isComponentDisabled;
    private ensureFormGroupExisted;
    getControl(documentId: any, path: any): import("@angular/forms").AbstractControl;
}
