import { IValidationOptions } from '../options/IValidationOptions'; import { IVerifiableCredentialValidation, VerifiableCredentialValidationResponse } from './VerifiableCredentialValidationResponse'; import { IExpectedVerifiableCredential } from '../index'; /** * Class for verifiable credential validation */ export declare class VerifiableCredentialValidationJsonLd implements IVerifiableCredentialValidation { private options; private expected; /** * Create a new instance of @see * @param options Options to steer the validation process * @param expected Expected properties of the verifiable credential */ constructor(options: IValidationOptions, expected: IExpectedVerifiableCredential); /** * Validate the verifiable credential * @param verifiableCredential The credential to validate as a signed token * @param siopDid needs to be equal to audience of VC * @returns result is true if validation passes */ validate(verifiableCredential: string | object, siopDid: string): Promise; /** * Get the type from the payload of the verifiable credential * @param vc The payload of the verifiable credential */ static getVerifiableCredentialType(vc: any): string; /** * Return expected issuers for verifyable credentials * @param expected Could be a contract based object or just an array with expected issuers * @param credentialType The credential types to which issuers are linked */ static getIssuersFromExpected(expected: IExpectedVerifiableCredential, credentialType?: string): string[] | VerifiableCredentialValidationResponse; }