UNPKG

mina-attestations

Version:
16 lines (15 loc) 746 B
import type { JSONValue } from './types.ts'; import type { PresentationRequestJSON, StoredCredentialJSON } from './validation.ts'; export { PrettyPrinter }; /** * Methods to print Mina Attestation data types * in human readable format. */ declare const PrettyPrinter: { printPresentationRequest: typeof printPresentationRequest; printVerifierIdentity: typeof printVerifierIdentity; simplifyCredentialData: typeof simplifyCredentialData; }; declare function printPresentationRequest(request: PresentationRequestJSON): string; declare function printVerifierIdentity(request: PresentationRequestJSON, origin: string): string; declare function simplifyCredentialData(storedCredential: StoredCredentialJSON): Record<string, JSONValue>;