import type { Validate } from 'payload'; export declare const validate: (required?: boolean) => Validate;