const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.js');
const require_classPrivateFieldInitSpec = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/classPrivateFieldInitSpec.js');
const require_classPrivateFieldSet2 = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/classPrivateFieldSet2.js');
const require_classPrivateFieldGet2 = require('../../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/classPrivateFieldGet2.js');
let __credo_ts_core = require("@credo-ts/core");
__credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);

//#region ../didcomm/src/modules/connections/DidCommConnectionsModuleConfig.ts
var _autoAcceptConnections = /* @__PURE__ */ new WeakMap();
var _peerNumAlgoForDidExchangeRequests = /* @__PURE__ */ new WeakMap();
var _peerNumAlgoForDidRotation = /* @__PURE__ */ new WeakMap();
var DidCommConnectionsModuleConfig = class {
	constructor(options) {
		require_classPrivateFieldInitSpec._classPrivateFieldInitSpec(this, _autoAcceptConnections, void 0);
		require_classPrivateFieldInitSpec._classPrivateFieldInitSpec(this, _peerNumAlgoForDidExchangeRequests, void 0);
		require_classPrivateFieldInitSpec._classPrivateFieldInitSpec(this, _peerNumAlgoForDidRotation, void 0);
		this.options = options ?? {};
		require_classPrivateFieldSet2._classPrivateFieldSet2(_autoAcceptConnections, this, this.options.autoAcceptConnections);
		require_classPrivateFieldSet2._classPrivateFieldSet2(_peerNumAlgoForDidExchangeRequests, this, this.options.peerNumAlgoForDidExchangeRequests);
		require_classPrivateFieldSet2._classPrivateFieldSet2(_peerNumAlgoForDidRotation, this, this.options.peerNumAlgoForDidRotation);
	}
	/** See {@link DidCommConnectionsModuleConfigOptions.autoAcceptConnections} */
	get autoAcceptConnections() {
		return require_classPrivateFieldGet2._classPrivateFieldGet2(_autoAcceptConnections, this) ?? false;
	}
	/** See {@link DidCommConnectionsModuleConfigOptions.autoAcceptConnections} */
	set autoAcceptConnections(autoAcceptConnections) {
		require_classPrivateFieldSet2._classPrivateFieldSet2(_autoAcceptConnections, this, autoAcceptConnections);
	}
	/** See {@link DidCommConnectionsModuleConfigOptions.peerNumAlgoForDidExchangeRequests} */
	get peerNumAlgoForDidExchangeRequests() {
		return require_classPrivateFieldGet2._classPrivateFieldGet2(_peerNumAlgoForDidExchangeRequests, this) ?? __credo_ts_core.PeerDidNumAlgo.ShortFormAndLongForm;
	}
	/** See {@link DidCommConnectionsModuleConfigOptions.peerNumAlgoForDidExchangeRequests} */
	set peerNumAlgoForDidExchangeRequests(peerNumAlgoForDidExchangeRequests) {
		require_classPrivateFieldSet2._classPrivateFieldSet2(_peerNumAlgoForDidExchangeRequests, this, peerNumAlgoForDidExchangeRequests);
	}
	/** See {@link DidCommConnectionsModuleConfigOptions.peerNumAlgoForDidRotation} */
	get peerNumAlgoForDidRotation() {
		return require_classPrivateFieldGet2._classPrivateFieldGet2(_peerNumAlgoForDidRotation, this) ?? __credo_ts_core.PeerDidNumAlgo.ShortFormAndLongForm;
	}
	/** See {@link DidCommConnectionsModuleConfigOptions.peerNumAlgoForDidRotation} */
	set peerNumAlgoForDidRotation(peerNumAlgoForDidRotation) {
		require_classPrivateFieldSet2._classPrivateFieldSet2(_peerNumAlgoForDidRotation, this, peerNumAlgoForDidRotation);
	}
};

//#endregion
exports.DidCommConnectionsModuleConfig = DidCommConnectionsModuleConfig;