Files
Brandon Thomas 0daf83dba9 mirror repo (WIP)
Need to remove secrets before entire repo can be made public.
2025-09-18 22:45:56 -04:00

19 lines
701 B
TypeScript

interface SubscriptionState {
currentPlanId: string;
hasActiveSubscription: boolean;
customerId?: string;
subscriptionId?: string;
billingCycle?: "monthly" | "yearly";
}
interface PricingModalState {
isOpen: boolean;
subscription: SubscriptionState;
openModal: () => void;
closeModal: () => void;
toggleModal: () => void;
setSubscription: (subscription: Partial<SubscriptionState>) => void;
updateCurrentPlan: (planId: string, hasActiveSubscription: boolean) => void;
}
export declare const usePricingModalStore: import('zustand').UseBoundStore<import('zustand').StoreApi<PricingModalState>>;
export {};
//# sourceMappingURL=pricing-modal-store.d.ts.map