import { LeafError } from './errors'; import { Validator } from './transformer'; export interface DateOptions { min?: Date; max?: Date; } export declare function date({ min, max }?: DateOptions): Validator;