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