import { IRequestorPresentationExchange, PresentationDefinitionModel, PresentationExchangeIssuanceModel, PresentationExchangeSchemaModel, RequestorBuilder, Crypto, ClaimToken, IRequestorAttestation } from '../lib/index'; import ITestModel from './models/ITestModel'; export default class RequestorHelper { constructor(requestDefinition: ITestModel, crypto?: Crypto); /** * the name of the requestor (Relying Party) */ clientName: string; /** * The audience of the requestor */ audience: string; /** * explaining the purpose of sending claims to relying party */ clientPurpose: string; /** * the url where the request came from */ clientId: string; /** * url to send response to */ redirectUri: string; /** * url pointing to terms and service user can open in a webview */ tosUri: string; /** * url pointing to logo of the requestor (Relying Party) */ logoUri: string; userDid: string; manifest: string; inputDescriptorId: string; issuance: PresentationExchangeIssuanceModel[]; schemaUri: string; schemaName: string; schemaPurpose: string; schema: PresentationExchangeSchemaModel; presentationDefinitionName: string; presentationDefinitionPurpose: string; presentationDefinition: PresentationDefinitionModel; presentationExchangeModel: { presentation_definition: { name: string; purpose: string; input_descriptors: { id: string; schema: { uri: string; name: string; purpose: string; }; issuance: { did: string; manifest: string; }[]; }[]; }; }; /** * Define the presentation exchange requestor */ presentationExchangeRequestor: IRequestorPresentationExchange | IRequestorAttestation; crypto: Crypto; /** * Requestor and builder builder */ builder: RequestorBuilder; requestor: import("../lib").Requestor; /** * Setup of the requestor */ setup(signingAlgorithm?: string): Promise; /** * Create presentation exchange request based on the this.presentationExchangeRequestor model */ createPresentationExchangeRequest(): Promise; }