import type { NativeStackScreenProps } from '@react-navigation/native-stack';
import { Context } from '../context/context';

export type RootStackParamList = {
    Home: { context: Context },
    Loby: { context: Context },
    Game: { context: Context, gameId: string, userKey: string }
    Help: { context: Context }
};

export type HomeScreenProps = NativeStackScreenProps<RootStackParamList, 'Home'>;

export type LobyScreenProps = NativeStackScreenProps<RootStackParamList, 'Loby'>;

export type GameScreenProps = NativeStackScreenProps<RootStackParamList, 'Game'>;

export type HelpScreenProps = NativeStackScreenProps<RootStackParamList, 'Help'>;