export declare class ValidationError extends Error {
    code: string;
    params: Record<string, unknown> | null;
    constructor(code: string, message: string);
    Error(): string;
    Code(): string;
    Message(): string;
    Params(): Record<string, unknown>;
    setParams(params: Record<string, unknown>): this;
    SetParams(params: Record<string, unknown>): this;
}
export declare function newError(code: string, message: string): ValidationError;
export declare const ErrRequired: ValidationError;
export declare function required(value: unknown): ValidationError | null;
export declare class ValidationErrors extends Error {
    errors: Record<string, Error>;
    constructor(errors?: Record<string, Error>);
}
export declare function isEmptyValue(value: unknown): boolean;
