import React, { createContext, useContext, type ReactNode } from 'react'; import type { SuperagentEditorTab } from './types'; type OpenConversationFeature = (tab: SuperagentEditorTab) => void; const ConversationFeatureNavigationContext = createContext(null); export function ConversationFeatureNavigationProvider({ children, onOpenFeature, }: { children: ReactNode; onOpenFeature: OpenConversationFeature; }) { return ( {children} ); } export function useConversationFeatureNavigation() { return useContext(ConversationFeatureNavigationContext); }