import type { PlaintextMessage } from '../../../types'; import type { HandshakeProtocol } from '../../connections'; import type { Key } from '../../dids'; import { AgentMessage } from '../../../agent/AgentMessage'; import { Attachment } from '../../../decorators/attachment/Attachment'; import { OutOfBandDidCommService } from '../domain/OutOfBandDidCommService'; export interface OutOfBandInvitationOptions { id?: string; label: string; goalCode?: string; goal?: string; accept?: string[]; handshakeProtocols?: HandshakeProtocol[]; services: Array; imageUrl?: string; appendedAttachments?: Attachment[]; } export declare class OutOfBandInvitation extends AgentMessage { constructor(options: OutOfBandInvitationOptions); addRequest(message: AgentMessage): void; getRequests(): PlaintextMessage[] | undefined; toUrl({ domain }: { domain: string; }): string; static fromUrl(invitationUrl: string): OutOfBandInvitation; static fromJson(json: Record): OutOfBandInvitation; get invitationDids(): string[]; getRecipientKeys(): Key[]; readonly type: string; static readonly type: import("../../../utils/messageType").ParsedMessageType; readonly label: string; readonly goalCode?: string; readonly goal?: string; readonly accept?: string[]; handshakeProtocols?: HandshakeProtocol[]; private requests?; services: Array; /** * Custom property. It is not part of the RFC. */ readonly imageUrl?: string; }