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