import { Field, ErrorMessages } from '../types'; declare const _default: ({ ref, ref: { type, value, name, checked }, options, required, maxLength, minLength, min, max, pattern, validate, }: Field, fields: { [key: string]: Field; }) => Promise; export default _default;