const require_DidCommMessageRole = require('../../repository/DidCommMessageRole.js');
require('../../repository/index.js');
const require_DidCommProofState = require('../../modules/proofs/models/DidCommProofState.js');
require('../../modules/proofs/index.js');

//#region ../didcomm/src/updates/0.2-0.3/proof.ts
let V02_03MigrationProofRole = /* @__PURE__ */ function(V02_03MigrationProofRole$1) {
	V02_03MigrationProofRole$1[V02_03MigrationProofRole$1["Verifier"] = 0] = "Verifier";
	V02_03MigrationProofRole$1[V02_03MigrationProofRole$1["Prover"] = 1] = "Prover";
	return V02_03MigrationProofRole$1;
}({});
const proverProofStates = [
	require_DidCommProofState.DidCommProofState.Declined,
	require_DidCommProofState.DidCommProofState.ProposalSent,
	require_DidCommProofState.DidCommProofState.RequestReceived,
	require_DidCommProofState.DidCommProofState.PresentationSent,
	require_DidCommProofState.DidCommProofState.Done
];
const didCommMessageRoleMapping = {
	[V02_03MigrationProofRole.Verifier]: {
		proposalMessage: require_DidCommMessageRole.DidCommMessageRole.Receiver,
		requestMessage: require_DidCommMessageRole.DidCommMessageRole.Sender,
		presentationMessage: require_DidCommMessageRole.DidCommMessageRole.Receiver
	},
	[V02_03MigrationProofRole.Prover]: {
		proposalMessage: require_DidCommMessageRole.DidCommMessageRole.Sender,
		requestMessage: require_DidCommMessageRole.DidCommMessageRole.Receiver,
		presentationMessage: require_DidCommMessageRole.DidCommMessageRole.Sender
	}
};

//#endregion