import { FormikContextType } from 'formik'; /** * Adaptation of setFieldValue wrapper from https://github.com/jaredpalmer/formik/issues/2332#issuecomment-819571154 * * There is a bug in the setIn function of Formik that deletes form keys that have undefined values rather than * setting the field value to undefined. This is inconsistent with other types of Formik behavior, such as * empty text Inputs resulting in form keys with undefined values * * @param formikContext * @param field * @param value * @param shouldValidate */ export declare function setFieldValue(formikContext: FormikContextType, field: string, value: any, shouldValidate?: boolean): void;