import { ApplicationError, Result } from "@js-soft/ts-utils"; import { OpenId4VciCredentialResponseJSON } from "@nmshd/consumption"; import { DeviceOnboardingInfoDTO, FileDVO, IdentityDVO, LocalRequestDVO, MailDVO, MessageDVO, RequestMessageDVO, ResolveAuthorizationRequestResponse, TokenDTO } from "@nmshd/runtime"; import { LocalAccountDTO } from "../../multiAccount"; export interface IUIBridge { showMessage(account: LocalAccountDTO, relationship: IdentityDVO, message: MessageDVO | MailDVO | RequestMessageDVO): Promise>; showRelationship(account: LocalAccountDTO, relationship: IdentityDVO): Promise>; showFile(account: LocalAccountDTO, file: FileDVO): Promise>; showVerifiablePresentation(account: LocalAccountDTO, token: TokenDTO, isTechnicallyValid: boolean): Promise>; showDeviceOnboarding(deviceOnboardingInfo: DeviceOnboardingInfoDTO): Promise>; showRequest(account: LocalAccountDTO, request: LocalRequestDVO): Promise>; showResolvedAuthorizationRequest(account: LocalAccountDTO, response: ResolveAuthorizationRequestResponse): Promise>; showResolvedCredentialOffer(account: LocalAccountDTO, credentialResponses: OpenId4VciCredentialResponseJSON[], issuerDisplayInformation?: { name?: string; locale?: string; logo?: { uri?: string; alt_text?: string; }; }[]): Promise>; showError(error: ApplicationError, account?: LocalAccountDTO): Promise>; requestAccountSelection(possibleAccounts: LocalAccountDTO[], title?: string, description?: string): Promise>; enterPassword(passwordType: "pw" | "pin", pinLength?: number, attempt?: number, passwordLocationIndicator?: number): Promise>; performOauthAuthentication(authenticationServerUrl: string): Promise>; } //# sourceMappingURL=IUIBridge.d.ts.map