import { DidCommMessageRole } from "../../repository/DidCommMessageRole.mjs";
import "../../repository/index.mjs";
import { DidCommProofState } from "../../modules/proofs/models/DidCommProofState.mjs";
import "../../modules/proofs/index.mjs";

//#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 = [
	DidCommProofState.Declined,
	DidCommProofState.ProposalSent,
	DidCommProofState.RequestReceived,
	DidCommProofState.PresentationSent,
	DidCommProofState.Done
];
const didCommMessageRoleMapping = {
	[V02_03MigrationProofRole.Verifier]: {
		proposalMessage: DidCommMessageRole.Receiver,
		requestMessage: DidCommMessageRole.Sender,
		presentationMessage: DidCommMessageRole.Receiver
	},
	[V02_03MigrationProofRole.Prover]: {
		proposalMessage: DidCommMessageRole.Sender,
		requestMessage: DidCommMessageRole.Receiver,
		presentationMessage: DidCommMessageRole.Sender
	}
};

//#endregion
//# sourceMappingURL=proof.mjs.map