import { AttachmentDescriptor, DID, Message } from "../../../../../domain"; import { CredentialPreview } from "./CredentialPreview"; /** * Specification: * https://github.com/decentralized-identity/waci-didcomm/tree/main/issue_credential#propose-credential */ export interface ProposeCredentialBody { goal_code?: string; comment?: string; credential_preview?: CredentialPreview; } export declare class ProposeCredential { body: ProposeCredentialBody; attachments: AttachmentDescriptor[]; from?: DID | undefined; to?: DID | undefined; thid?: string | undefined; id: string; static type: "https://didcomm.org/issue-credential/3.0/propose-credential"; constructor(body: ProposeCredentialBody, attachments: AttachmentDescriptor[], from?: DID | undefined, to?: DID | undefined, thid?: string | undefined, id?: string); makeMessage(): Message; static fromMessage(msg: Message): ProposeCredential; }