import type { TopLevelDataSchema } from '../context/StateContext/types';
/**
 * Set fields on the schema which have been removed to the appropriate "deleted" value.
 *
 * E.g. removed `string` fields are set to `""`, removed `number`s to `null`.
 *
 * Doesn't mutate the original object.
 *
 * @param newData - actual form data submitted from the frontend
 * @param existingData - `Schema`-fied version of the existing LE data we got from the BE
 * @returns filtered data
 */
export declare const setRemovedFieldsOnSchemaToDeletedValue: <Schema extends TopLevelDataSchema>(newData: Schema, existingData: Schema) => Schema;
