import { type TLocalizedValidationError } from '../error/index.mjs'; import { type Static } from '../type/types/static.mjs'; import * as Schema from './types/index.mjs'; export declare class Validator> { private readonly buildResult; private readonly evaluateResult; constructor(context: Record, schema: Schema); /** Returns true if this Validator is using JIT acceleration. */ IsAccelerated(): boolean; /** Returns the underlying Schema used to construct this Validator. */ Schema(): Schema; /** Performs a type-guard check on the provided value. */ Check(value: unknown): value is Value; /** Validates a value and returns it. Will throw if invalid. */ Parse(value: unknown): Value; /** Inspects a value and returns a detailed list of validation errors. */ Errors(value: unknown): [result: boolean, errors: TLocalizedValidationError[]]; } /** Compiles this schema into a high performance Validator */ export declare function Compile(schema: Schema): Validator; /** Compiles this schema into a high performance Validator */ export declare function Compile(context: Record, schema: Schema): Validator;