import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
import { FormGroup, NgControl } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class FormRowComponent {
    label: string;
    description: string;
    labelWidth?: number;
    left: boolean | '';
    ngControl?: NgControl;
    isString(v: any): v is string;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormRowComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FormRowComponent, "dui-form-row", never, { "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "left": { "alias": "left"; "required": false; }; }, {}, ["ngControl"], ["*"], false, never>;
}
export declare class FormComponent implements OnChanges {
    protected cd: ChangeDetectorRef;
    protected cdParent: ChangeDetectorRef;
    formGroup: FormGroup;
    disabled: boolean;
    submit?: () => Promise<any> | any;
    success: EventEmitter<any>;
    error: EventEmitter<any>;
    disableChange: EventEmitter<any>;
    errorText: string;
    submitting: boolean;
    constructor(cd: ChangeDetectorRef, cdParent: ChangeDetectorRef);
    onEnter(event: KeyboardEvent): void;
    ngOnChanges(changes: SimpleChanges): void;
    get invalid(): boolean;
    submitForm(): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, [null, { skipSelf: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "dui-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "submit": { "alias": "submit"; "required": false; }; }, { "success": "success"; "error": "error"; "disableChange": "disableChange"; }, never, ["*"], false, never>;
}
