import { IDidValidation, IDidValidationResponse } from './DidValidationResponse'; import { IValidationOptions } from '../options/IValidationOptions'; import { IExpectedBase } from '../index'; /** * Class for input validation of a token signed with DID key */ export declare class DidValidation implements IDidValidation { private options; private expected; /** * Create a new instance of @see * @param options Options to steer the validation process * @param expectedSchema Expected schema of the verifiable credential */ constructor(options: IValidationOptions, expected: IExpectedBase); /** * Validate the token for a correct format and signature * @param token Token to validate * @returns true if validation passes together with parsed objects */ validate(token: string | object): Promise; }