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