/** * @module indicative-rules */ /** * Returns a boolean telling if value is valid as per the given date format * or not. * * @example * ```js * const { is } = require('indicative') * * if (is.dateFormat('2010-11-20', ['YYYY-MM-DD'])) { * } * * // You can also check against multiple format to see if it matches any * // one or not * if (is.dateFormat('2010-11-20', ['YYYY-MM-DD', 'YYYY/MM/DD'])) { * } * ``` */ export declare const dateFormat: (input: string, formats: string | string[]) => boolean;