import { create } from 'zustand';
export const useQueueStore = create((set, get) => ({
    pendingRestoreText: null,
    setPendingRestoreText: (text) => set({ pendingRestoreText: text }),
    consumeRestoreText: () => {
        const text = get().pendingRestoreText;
        set({ pendingRestoreText: null });
        return text;
    },
}));
//# sourceMappingURL=queueStore.js.map