export declare const MONTHS_LEAP: number[]; export declare const MONTHS: number[]; /** * Checks if a given string is in a particular format * Eg: * isDateFormat('2024-02-09', 'YYYY-MM-DD'); // true * isDateFormat('2024-02-09T14:30', 'YYYY-MM-DD'); // false * * @param {unknown} input - String to format (eg: '2024-08-01') * @param {string} spec - Spec to validate (Eg: 'YYYY-MM-DD') */ declare function isDateFormat(input: unknown, spec: string): input is string; export { isDateFormat, isDateFormat as default };