import { Nil } from "../../../../../utils"; /** * Specification: * https://github.com/decentralized-identity/waci-didcomm/tree/main/issue_credential#preview-credential */ export interface CredentialPreview { type: string; id?: string; body: { attributes: Attribute[]; }; } export interface Attribute { name: string; value: string; media_type?: string | Nil; } export declare const validateCredentialPreview: (value: unknown) => value is CredentialPreview;