import type { OpenId4VcPluginOptions } from '../types'; import type { BaseAgent, SdJwtVcTypeMetadata } from '@credo-ts/core'; import type { OpenId4VcIssuanceSessionRecord, OpenId4VcIssuerApi, OpenId4VciCredentialRequestToCredentialMapper } from '@credo-ts/openid4vc'; type IssuerApi = Pick; export type OpenId4VcIssuerAgent = Pick & { did?: string; modules: { openId4Vc?: { issuer?: IssuerApi; }; }; }; export interface OpenId4VcOfferResult { credentialOffer: string; issuanceSessionId: string; } export interface OpenId4VcOfferState { id: string; state: OpenId4VcIssuanceSessionRecord['state']; createdAt: Date; expiresAt?: Date; } export declare class OpenId4VcIssuerRequestError extends Error { } export declare class OpenId4VcOfferNotFoundError extends Error { } export declare class IssuerService { private readonly agent; private readonly options; private initialization?; private signingCertificate?; private initialized; constructor(agent: OpenId4VcIssuerAgent, options: OpenId4VcPluginOptions); ensureInitialized(): Promise; createOffer(credentialConfigurationId: string, inputClaims: unknown): Promise; getOfferState(id: string): Promise; getVctMetadata(configurationId: string): SdJwtVcTypeMetadata | undefined; mapCredentialRequest: OpenId4VciCredentialRequestToCredentialMapper; private initialize; private createOrUpdateIssuer; private credentialConfigurationsSupported; private issuerApi; private issuerOptions; private signingCertificateHandle; private assertInitialized; } export {};