import type React from 'react'; import type { ValidationInfo } from '../ValidationWrapper.js'; import type { ValidationBehaviour, ValidationLevel } from '../ValidationWrapperInternal.js'; import type { LambdaPath, PathTokensCache } from './PathHelper.js'; import type { ItemValidationRule, ValidationRule } from './Types.js'; import type { ValidationWriter } from './ValidationWriter.js'; export declare class ValidationBuilder { private readonly writer; private readonly tokens; private readonly path; private readonly data; constructor(writer: ValidationWriter, tokens: PathTokensCache, path: string[], data: T); prop(lambdaPath: LambdaPath, rule: ValidationRule): void; array(lambdaPath: LambdaPath, rule: ItemValidationRule): void; invalid(isInvalid: (value: T) => boolean, validationInfo: ValidationInfo): void; invalid(isInvalid: (value: T) => boolean, message: React.ReactNode, type?: ValidationBehaviour, level?: ValidationLevel, independent?: boolean): void; private getPathInfo; }