import type { PaymentCode } from "@/utils/requests/Types"; import type { NativeStackScreenProps } from "@react-navigation/native-stack"; export type IpaymentStackNavigator = { homePageWithPaymentOptions: undefined; numberAndOtpForPaymentScreen: undefined; paymentAmountInputScreen: { paymentType: PaymentCode; }; }; export type PaymentStackScreenProps = NativeStackScreenProps; export type PaymentStackScreenComponentProps = React.FC< PaymentStackScreenProps >; export type ImainStackNavigator = { homeUserNotLoggedIn: undefined; userLoginScreen: undefined; appBottomTabsNavigator: undefined; paymentResultScreen: undefined; }; export type MainStackScreenProps = NativeStackScreenProps< ImainStackNavigator, T, "ImainStackNavigator" >; export type MainStackScreenComponentProps = React.FC< MainStackScreenProps >;