import { BaseValidator } from './base'; import type { JsonValidatorType, ValidationNames } from '../types/index'; // Export a function to create JSON validators export declare function json(): JsonValidator; export declare class JsonValidator extends BaseValidator implements JsonValidatorType { name: ValidationNames; constructor(); min(min: number): this; max(max: number): this; length(length: number): this; custom(fn: (value: string | null | undefined) => boolean, message: string): this; }