import { DidCommMessagesReceivedV2Message } from "../messages/DidCommMessagesReceivedV2Message.mjs";
import "../messages/index.mjs";

//#region ../didcomm/src/modules/message-pickup/protocol/v2/handlers/DidCommMessagesReceivedV2Handler.ts
var DidCommMessagesReceivedV2Handler = class {
	constructor(messagePickupService) {
		this.supportedMessages = [DidCommMessagesReceivedV2Message];
		this.messagePickupService = messagePickupService;
	}
	async handle(messageContext) {
		messageContext.assertReadyConnection();
		return this.messagePickupService.processMessagesReceived(messageContext);
	}
};

//#endregion
export { DidCommMessagesReceivedV2Handler };
//# sourceMappingURL=DidCommMessagesReceivedV2Handler.mjs.map