export default function validate(value: any, context: any, { format, errorMessage }?: { format?: string; errorMessage?: string; }): string | true;