export type ValidatorFn = (value: T) => string | null; export declare const checkRequired: (value: unknown) => boolean; export declare const checkEmail: (value: string) => boolean; export declare const checkMinLength: (value: string, n: number) => boolean; export declare const checkMaxLength: (value: string, n: number) => boolean; export declare const checkPattern: (value: string, regex: RegExp) => boolean; export declare const checkMin: (value: number, n: number) => boolean; export declare const checkMax: (value: number, n: number) => boolean; export declare const checkGreaterThan: (value: number, n: number) => boolean; export declare const checkLessThan: (value: number, n: number) => boolean; export declare const checkBetween: (value: number, min: number, max: number) => boolean; export declare const checkDateBetween: (value: Date, min: Date, max: Date) => boolean; export declare const checkAfter: (value: Date, date: Date) => boolean; export declare const checkBefore: (value: Date, date: Date) => boolean; export declare const checkPast: (value: Date) => boolean; export declare const checkFuture: (value: Date) => boolean; export declare const checkInTheLast24Hours: (value: Date) => boolean; export declare const checkInTheNext24Hours: (value: Date) => boolean; export declare const checkThisCurrentMonth: (value: Date) => boolean; export declare const checkThisCurrentYear: (value: Date) => boolean; export declare const checkHasCapitalLetter: (value: string) => boolean; export declare const checkHasLowercaseLetter: (value: string) => boolean; export declare const checkHasNumber: (value: string) => boolean; export declare const checkHasSpecialCharacter: (value: string) => boolean; export declare const checkUrl: (value: string) => boolean; export declare const checkFloat: (value: unknown) => boolean; export declare const checkInteger: (value: unknown) => boolean; export declare const checkPositive: (value: number) => boolean; export declare const checkNegative: (value: number) => boolean; export declare const isRequired: ValidatorFn; export declare const isEmail: ValidatorFn; export declare const minLength: (n: number) => ValidatorFn; export declare const maxLength: (n: number) => ValidatorFn; export declare const isPattern: (regex: RegExp, msg?: string) => ValidatorFn; export declare const isMin: (n: number) => ValidatorFn; export declare const isMax: (n: number) => ValidatorFn; export declare const isGreaterThan: (n: number) => ValidatorFn; export declare const isLessThan: (n: number) => ValidatorFn; export declare const isBetween: (min: number, max: number) => ValidatorFn; export declare const isDateBetween: (min: Date, max: Date) => ValidatorFn; export declare const isAfter: (date: Date) => ValidatorFn; export declare const isBefore: (date: Date) => ValidatorFn; export declare const isPast: () => ValidatorFn; export declare const isFuture: () => ValidatorFn; export declare const isInTheLast24Hours: () => ValidatorFn; export declare const isInTheNext24Hours: () => ValidatorFn; export declare const isThisCurrentMonth: () => ValidatorFn; export declare const isThisCurrentYear: () => ValidatorFn; export declare const isGoodPassword: () => ValidatorFn; export declare const isStrongPassword: () => ValidatorFn; export declare const isStrongestPassword: () => ValidatorFn; export declare const hasCapitalLetter: () => ValidatorFn; export declare const hasLowercaseLetter: () => ValidatorFn; export declare const hasNumber: () => ValidatorFn; export declare const hasSpecialCharacter: () => ValidatorFn; export declare const isUrl: () => ValidatorFn; export declare const isFloat: () => ValidatorFn; export declare const isInteger: () => ValidatorFn; export declare const isPositive: () => ValidatorFn; export declare const isNegative: () => ValidatorFn; //# sourceMappingURL=validators.d.ts.map