export default function isDateAllowed(date: string, min: string, max: string, allowedFn: any): boolean;