import type { NativeStackScreenProps } from "@react-navigation/native-stack"; import type { PaymentType, WaveTransactionInitilizationResponse } from "@/features/pay/types"; export type IpaymentStackNavigator = { homePageWithPaymentOptions: undefined; numberAndOtpForPaymentScreen: { paymentType: PaymentType; amount: number; }; paymentAmountInputScreen: { paymentType: PaymentType; }; }; export type PaymentStackScreenProps = NativeStackScreenProps; export type PaymentStackScreenComponentProps = React.FC< PaymentStackScreenProps >; export type ImainStackNavigator = { homeUserNotLoggedIn: undefined; userLoginScreen: undefined; appBottomTabsNavigator: undefined; paymentResultScreen: undefined; waveQrCodePaymentScreen: { data: WaveTransactionInitilizationResponse; }; }; export type MainStackScreenProps = NativeStackScreenProps< ImainStackNavigator, T, "ImainStackNavigator" >; export type MainStackScreenComponentProps = React.FC< MainStackScreenProps >;