require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../functions/snarkjs/constant.cjs`),t=require(`../data-structures/http/HttpClient.cjs`);require(`../data-structures/http/index.cjs`);var n=new(require(`async-mutex`)).Mutex,r=async(r,i,a)=>n.runExclusive(async()=>await t.httpClient.post(`${e.ENCLAVE_URL}/decrypt-utxos`,{chainId:r,input:a,key:i})),i=async(n,r,i,a)=>await t.httpClient.post(`${e.ENCLAVE_URL}/store-utxo`,{recipientEthAddress:n,encryptedUtxo:r,key:i,chainId:a}),a=async(n,r,i,a,o,s)=>await t.httpClient.post(`${e.ENCLAVE_URL}/get-utxos`,{ethAddress:n,encryptedSignature:r,key:i,chainId:a,isSolanaLedger:o,txMessageForSolanaLedger:s});exports.decryptUtxoEnclaveCall=r,exports.getUtxosEnclaveCall=a,exports.storeUtxoEnclaveCall=i;