Repository URL to install this package:
Version:
0.9.7 ▾
|
import React from 'react';
/**
* @see https://date-fns.org/
*
* @todo - use date_fns
* @todo - use in the dateParse util
* @todo - use in time atom
*/
declare class ExpiryDateValidation {
isValidMonth: (month: React.ReactText) => boolean;
isValidYear: (year: React.ReactText) => boolean;
isValidTimeOrDay(): void;
}
declare const expiryDate: ExpiryDateValidation;
declare const isValidMonth: (month: React.ReactText) => boolean;
declare const isValidYear: (year: React.ReactText) => boolean;
export { isValidMonth, isValidYear, expiryDate };