/// import _isDate from 'validator/lib/isDate'; import { TReferenceProps } from '../../..'; import { IStringProps, TStringValidatorResult } from '../_types'; declare type TParameters = Parameters; export interface IIsDateProps { /** * Options is an object which can contain the keys `format`, `strictMode` and/or `delimiters` `format` is a string and defaults to `YYYY/MM/DD`. `strictMode` is a boolean and defaults to `false`. If `strictMode` is set to `true`, the validator will reject inputs different from format. `delimiters` is an array of allowed date delimiters and defaults to `['/', '-']`. */ options?: TParameters[1]; } /** * Check if the string is a valid date. */ export declare const isDate: (props?: TReferenceProps & IStringProps) => TStringValidatorResult; export {};