import { ExternalActionId as e } from "../../types/external-action.types.mjs";
import { INTERACTION as t } from "../../types/hinkal.types.mjs";
import "../../types/index.mjs";
//#region libs/shared/common/src/functions/pre-transaction/interaction-to-action.ts
var n = (n) => n === e.Transact ? t.WITHDRAW : [
	e.Uniswap,
	e.Odos,
	e.OneInch
].includes(n) ? t.SWAP : n === e.Emporium ? t.EMPORIUM : t.NONE;
//#endregion
export { n as getInteractionFromAction };
