/** * Checks that a date is after either: * - A specified, fixed date. * Or * - An offset to the current date in days/months/years. * * @param {string} date - date string in a valid date format e.g. DD-MM-YYYY * @param {string} config.date - fixed date string that date must be after, in the format DD-MM-YYYY * @param {string} config.unit - day, month or year * @param {number} config.value - number of the unit to be after * @returns false if date is not after the given date/offset or true if it is. */ declare const mustBeAfter: (date: any, config: any) => boolean; export default mustBeAfter;