import { makeEnclaveHandshakeAndEncryptInput as e } from "./encryptInputForEnclave.mjs";
import { storeAndGetSignatureEnclaveCall as t } from "../../API/enclaveSignatureCalls.mjs";
//#region libs/shared/common/src/functions/utils/enclave-signature-storage.ts
var n = async (n, r, i, a) => {
	let { keyCiphertext: o, inputCiphertext: s } = await e(r), { signature: c } = await t(n, s, o, i, a);
	return c;
};
//#endregion
export { n as storeAndGetSignatureFromEnclave };
