/** * Additional validator to not permit a value change if a specified item exists in formData. * @param {object} data the changed value * @param {object} config the config for the validation must contain * a property 'base' holding the value for checking * a property 'check' holding the formData item name to check if exists * @param {object} formData the form data * @returns false if: * the 'base' value is not the same as the changed value AND * the 'check' value exists in formData as an item * otherwise returns true */ declare const conditionallyPermittedChange: (data: any, config: any, _: any, formData: any) => boolean; export default conditionallyPermittedChange;