UNPKG

@sphereon/pex

Version:

A Typescript implementation of the v1 and v2 DIF Presentation Exchange specification

10 lines (9 loc) 268 B
import { ValidationBundler } from '../bundlers'; import { Validated } from './index'; export interface Validator<T> { bundler: ValidationBundler<T>; target: T; } export declare class ValidationEngine<T> { validate(validators: Validator<T>[]): Validated; }