import { ISerializable, Serializable } from "@js-soft/ts-serval"; import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/core-types"; import { CryptoCipher, ICryptoCipher } from "@nmshd/crypto"; export interface IMessageRecipient extends ISerializable { address: ICoreAddress; encryptedKey: ICryptoCipher; receivedAt?: ICoreDate; receivedByDevice?: ICoreId; relationshipId?: ICoreId; } export declare class MessageRecipient extends Serializable implements IMessageRecipient { address: CoreAddress; encryptedKey: CryptoCipher; receivedAt?: CoreDate; receivedByDevice?: CoreId; relationshipId?: CoreId; static from(value: IMessageRecipient): MessageRecipient; } //# sourceMappingURL=MessageRecipient.d.ts.map