export default function date(format?: string): (value: string) => boolean;