import { ScreenTransition } from '@/components/App/ScreenTransition'; import { DownloadScreen } from '@/components/screens/Download'; import { InterfaceScreen } from '@/components/screens/Interface'; import { LaunchScreen } from '@/components/screens/Launch'; import { WelcomeScreen } from '@/components/screens/Welcome'; import type { InterfaceTab, Screen } from '@/types'; interface AppRouterProps { currentScreen: Screen | null; hasInitialized: boolean; activeInterfaceTab: InterfaceTab; isServerReady: boolean; onWelcomeComplete: () => void; onDownloadComplete: () => void; onLaunch: () => void; } export const AppRouter = ({ currentScreen, hasInitialized, activeInterfaceTab, isServerReady, onWelcomeComplete, onDownloadComplete, onLaunch, }: AppRouterProps) => { const isInterfaceScreen = currentScreen === 'interface'; return (