import { type TLocalizedValidationError } from '../../error/errors.mjs'; import { type TProperties, type TSchema, type StaticDecode } from '../../type/index.mjs'; import { AssertError } from '../assert/index.mjs'; export declare class DecodeError extends AssertError { constructor(value: unknown, errors: TLocalizedValidationError[]); } /** Executes Decode callbacks only */ export declare function DecodeUnsafe(context: TProperties, type: TSchema, value: unknown): unknown; /** Decodes a value with the given type. */ export declare function Decode(type: Type, value: unknown): StaticDecode; /** Decodes a value with the given type. */ export declare function Decode(context: Context, type: Type, value: unknown): StaticDecode;