import { OpenId4VcUpdateVerifierRecordOptions, OpenId4VpCreateAuthorizationRequestOptions, OpenId4VpCreateAuthorizationRequestReturn, OpenId4VpCreateVerifierOptions, OpenId4VpVerifiedAuthorizationResponse, OpenId4VpVerifyAuthorizationResponseOptions } from "./OpenId4VpVerifierServiceOptions.mjs"; import { OpenId4VcVerificationSessionRecord } from "./repository/OpenId4VcVerificationSessionRecord.mjs"; import { OpenId4VcVerifierRecord } from "./repository/OpenId4VcVerifierRecord.mjs"; import "./repository/index.mjs"; import { OpenId4VcVerifierModuleConfig } from "./OpenId4VcVerifierModuleConfig.mjs"; import { OpenId4VpVerifierService } from "./OpenId4VpVerifierService.mjs"; import { AgentContext, Query, QueryOptions } from "@credo-ts/core"; //#region src/openid4vc-verifier/OpenId4VcVerifierApi.d.ts /** * @public */ declare class OpenId4VcVerifierApi { readonly config: OpenId4VcVerifierModuleConfig; private agentContext; private openId4VpVerifierService; constructor(config: OpenId4VcVerifierModuleConfig, agentContext: AgentContext, openId4VpVerifierService: OpenId4VpVerifierService); /** * Retrieve all verifier records from storage */ getAllVerifiers(): Promise; /** * Retrieve a verifier record from storage by its verified id */ getVerifierByVerifierId(verifierId: string): Promise; /** * Create a new verifier and store the new verifier record. */ createVerifier(options?: OpenId4VpCreateVerifierOptions): Promise; updateVerifierMetadata(options: OpenId4VcUpdateVerifierRecordOptions): Promise; findVerificationSessionsByQuery(query: Query, queryOptions?: QueryOptions): Promise; getVerificationSessionById(verificationSessionId: string): Promise; /** * Create an OpenID4VP authorization request, acting as a Relying Party (RP). * * See {@link OpenId4VpCreateAuthorizationRequestOptions} for detailed documentation on the options. */ createAuthorizationRequest({ verifierId, ...otherOptions }: OpenId4VpCreateAuthorizationRequestOptions & { verifierId: string; }): Promise; /** * Verifies an authorization response, acting as a Relying Party (RP). * * It validates the ID Token, VP Token and the signature(s) of the received Verifiable Presentation(s) * as well as that the structure of the Verifiable Presentation matches the provided presentation definition. */ verifyAuthorizationResponse({ verificationSessionId, ...otherOptions }: OpenId4VpVerifyAuthorizationResponseOptions & { verificationSessionId: string; }): Promise; getVerifiedAuthorizationResponse(verificationSessionId: string): Promise; } //#endregion export { OpenId4VcVerifierApi }; //# sourceMappingURL=OpenId4VcVerifierApi.d.mts.map