import{useMemo as e}from"react";import{useProductStore as i}from"@gem-sdk/core";import{SubscriptionEnum as r}from"../constants/index.js";let t=()=>{let t=i(e=>e.subscriptionSellingType);return e(()=>({isOneTime:t===r.ONE_TIME,isSubscription:t===r.SUBSCRIPTION,subscriptionSellingType:t}),[t])};export{t as useSubscriptionSellingType};
