UNPKG

@sphereon/pex

Version:

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

12 lines (11 loc) 585 B
import { WrappedVerifiableCredential } from '@sphereon/ssi-types'; import { IInternalPresentationDefinition } from '../../types'; import { EvaluationClient } from '../evaluationClient'; import { AbstractEvaluationHandler } from './abstractEvaluationHandler'; export declare class FormatRestrictionEvaluationHandler extends AbstractEvaluationHandler { constructor(client: EvaluationClient); getName(): string; handle(pd: IInternalPresentationDefinition, wrappedVcs: WrappedVerifiableCredential[]): void; private generateErrorResult; private generateSuccessResult; }