const require_InvalidParamError = require('./InvalidParamError-Cs4ZMEj4.cjs');
const require_isDynamicWaasEnabled = require('./isDynamicWaasEnabled-C90E53x1.cjs');

//#region src/modules/waas/getWaasWalletProviderFromWalletAccount/getWaasWalletProviderFromWalletAccount.ts
/** @notInstrumented */
const getWaasWalletProviderFromWalletAccount = ({ walletAccount }, client) => {
	const walletProvider = require_InvalidParamError.getWalletProviderFromWalletAccount({ walletAccount }, client);
	if (!require_InvalidParamError.isWaasWalletProvider(walletProvider)) throw new require_isDynamicWaasEnabled.NotWaasWalletAccountError({ walletAddress: walletAccount.address });
	return walletProvider;
};

//#endregion
Object.defineProperty(exports, 'getWaasWalletProviderFromWalletAccount', {
  enumerable: true,
  get: function () {
    return getWaasWalletProviderFromWalletAccount;
  }
});
//# sourceMappingURL=getWaasWalletProviderFromWalletAccount-CKZIsFWL.cjs.map