import { FormikValues } from 'formik';
/**
 * Returns an object only containing the differences between the two FormikValues.
 *
 * This method can be used to create the patch document sent to the PostGraphile endpoint.
 *
 * Please make sure to remove fields that can not be updated, or need to be updated using a different mutation, either already on the parameters passed to that method or on the returned object, before sending it to the API.
 *
 * _Note_: this function will just compare the values of each property. It will not compare values of nested array or objects.
 *
 * @param current the current values of the form
 * @param initial the initial values of the form
 * @example getFormDiff({a: 2}, {a: 3})
 */
export declare function getFormDiff<T extends FormikValues>(current: T, initial?: T | null): Partial<T>;
//# sourceMappingURL=getFormDiff.d.ts.map