import { FormGroup } from '@angular/forms';
import { LayoutComponentMetadata } from '@anglr/dynamic/layout';
import { LayoutComponentsIteratorService } from '@anglr/dynamic/layout-editor';
import * as i0 from "@angular/core";
export declare class FormComponentControlBuilder {
    private _iteratorsSvc;
    constructor(_iteratorsSvc: LayoutComponentsIteratorService);
    /**
     * Build form group from layout metadata
     * @param layoutMetadata
     * @returns
     */
    build(layoutMetadata: LayoutComponentMetadata): Promise<FormGroup>;
    /**
     * Get active form group for specific layout component
     * @param parentIterator parent layout component iterator item
     * @param group active form group
     * @returns
     */
    private _getActiveGroup;
    /**
     * Gets component control name
     * @param metadata component metadata
     * @returns
     */
    private _getControlName;
    /**
     * Gets specific control for layout component
     * @param metadata component metadata
     * @returns
     */
    private _getControlForMetadata;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormComponentControlBuilder, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<FormComponentControlBuilder>;
}
//# sourceMappingURL=formComponentControlBuilder.service.d.ts.map