export interface IValidators { maxInputLength?: number; isRequired?: boolean; validDate?: boolean; dateNotInPast?: boolean; } export interface IValidationResult { valid: boolean; message?: string; } declare const validate: (rules: IValidators, text: string) => IValidationResult; export { validate, };