import { EventEmitter, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { IFormControl, Filed } from '@testlocallibrary/shared-kernel/components/ldc-form/types';
import { IButton } from '@testlocallibrary/shared-kernel/components/ldc-button';
import * as i0 from "@angular/core";
export declare class LdcDynamicFormsComponent implements OnInit, OnDestroy {
    private readonly _fb;
    onSubmit: EventEmitter<any>;
    onClose: EventEmitter<void>;
    buttons: IButton[];
    fields: IFormControl<Filed>[];
    errors: {
        [key: string]: string;
    };
    alignButtons: string;
    isStickyForm: boolean;
    readonly content: TemplateRef<unknown> | undefined;
    protected form: FormGroup;
    private readonly _destroyAll$;
    constructor(_fb: FormBuilder);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    submit(): void;
    ngOnDestroy(): void;
    private initializeForm;
    static ɵfac: i0.ɵɵFactoryDeclaration<LdcDynamicFormsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<LdcDynamicFormsComponent, "lib-ldc-dynamic-form", never, { "buttons": { "alias": "buttons"; "required": false; }; "fields": { "alias": "fields"; "required": true; }; "errors": { "alias": "errors"; "required": false; }; "alignButtons": { "alias": "alignButtons"; "required": false; }; "isStickyForm": { "alias": "isStickyForm"; "required": false; }; }, { "onSubmit": "onSubmit"; "onClose": "onClose"; }, ["content"], ["[content]"], true, never>;
}
