import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
export interface RFormConfig {
    fields: RFormField[];
    submitButtonText?: string;
    title?: string;
    description?: string;
}
export interface RFormField {
    type: RFormFieldType;
    formControlName: string;
    validators?: ValidatorFn | ValidatorFn[];
    asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[];
    placeholder?: string;
    label?: string;
    value?: any;
    options?: RFormFieldOption[];
}
export interface RFormFieldOption {
    label: string;
    value: any;
}
export declare type RFormFieldType = 'text' | 'number' | 'file' | 'select' | 'datepicker' | 'timepicker' | 'radio' | 'checkbox';
