import type { Validator } from "./models/validator"; export declare const required: Validator; export declare function maxLength(length: number): Validator; export declare function minLength(length: number): Validator; export declare const email: Validator; /** * A variation of the `email` validator that requires a [TLD](https://en.wikipedia.org/wiki/Top-level_domain) component. Verifying * the validity of the TLD is not the responsibility of this validation library. */ export declare const emailWithTld: Validator; export declare const url: Validator; export declare const number: Validator; export declare function pattern(regExp: string | RegExp): Validator;