import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
import { FormGroup, FormGroupDirective } from "@angular/forms";
import { EventBus, IEvent, LoggerService } from "@nova-ui/bits";
import { BaseLayout } from "../../../components/layouts/base-layout";
import { PizzagnaService } from "../../../pizzagna/services/pizzagna.service";
import * as i0 from "@angular/core";
/**
 * This component registers multiple nested form groups in a parent form
 */
export declare class FormStackComponent extends BaseLayout implements OnInit, OnChanges {
    formDirective: FormGroupDirective;
    private eventBus;
    static lateLoadKey: string;
    nodes: [];
    elementClass: string;
    form: FormGroup;
    constructor(changeDetector: ChangeDetectorRef, pizzagnaService: PizzagnaService, logger: LoggerService, formDirective: FormGroupDirective, eventBus: EventBus<IEvent>);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    onEvent(componentId: string, event: IEvent): void;
    addFormGroup(name: string, formGroup: FormGroup): void;
    getNodes(): string[];
    static ɵfac: i0.ɵɵFactoryDeclaration<FormStackComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FormStackComponent, "nui-form-stack", never, { "nodes": { "alias": "nodes"; "required": false; }; }, {}, never, never, false, never>;
}
