/**
 * @license
 * Copyright renie.tech, all Rights Reserved.
 * Licensed under the MIT License. See LICENSE in the project root for more information.
 */
import { EventEmitter } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { RFormConfig } from './form.model';
export declare class RForm<T> {
    config: RFormConfig;
    showSpinner: boolean;
    submit: EventEmitter<T>;
    form: FormGroup;
    ngOnInit(): void;
    initForm(): void;
    onSubmit(): void;
    hasError(controlName: string, error: string): boolean;
}
