import { create } from 'zustand';
export const useTopupApprovalStore = create((set) => ({
    pendingTopup: null,
    isProcessing: false,
    selectedMethod: null,
    setPendingTopup: (pendingTopup) => set({ pendingTopup, isProcessing: false, selectedMethod: null }),
    setProcessing: (isProcessing) => set({ isProcessing }),
    setSelectedMethod: (selectedMethod) => set({ selectedMethod }),
    clearPendingTopup: () => set({ pendingTopup: null, isProcessing: false, selectedMethod: null }),
}));
//# sourceMappingURL=topupApprovalStore.js.map