import React, { ReactNode } from 'react'; import { FieldValues } from 'react-hook-form'; interface BaseFormProps { initialValues?: T; values?: T; children: ReactNode; onSubmit: (values: T) => Promise; mode?: 'onChange' | 'onBlur' | 'onSubmit' | 'all'; reValidateMode?: 'onChange' | 'onBlur' | 'onSubmit'; errors?: any; resetOptions?: Record; criteriaMode?: 'firstError' | 'all'; shouldFocusError?: boolean; delayError?: number; shouldUseNativeValidation?: boolean; shouldUnregister?: boolean; className?: string; } declare const BaseForm: React.ForwardRefExoticComponent & React.RefAttributes>; export default BaseForm; //# sourceMappingURL=BaseForm.d.ts.map