import { MutableRefObject } from 'react';
import { FieldMeta, FieldProps, FieldType, ValidateFunc } from '../../../@common/types';
declare type IProps<FieldCustomProps extends Record<string, any>, Input extends HTMLElement = HTMLInputElement> = {
    component: (props: FieldProps<FieldCustomProps, Input>) => JSX.Element;
    componentProps: FieldCustomProps;
    defaultValue?: any;
    defaultValueJustAdded?: any;
    fieldMeta?: FieldMeta;
    fieldType?: FieldType;
    formRef?: MutableRefObject<HTMLFormElement>;
    name: string;
    validators: Array<ValidateFunc>;
    hideErrorsInXSeconds?: false | number;
};
export declare const ValidatedField: <FieldCustomProps extends Record<string, any>, Input extends HTMLElement = HTMLInputElement>({ component, componentProps, defaultValue, defaultValueJustAdded, fieldMeta, fieldType, formRef, name, validators, hideErrorsInXSeconds, }: IProps<FieldCustomProps, Input>) => JSX.Element;
export {};
