import { Component } from 'react'; import type { PaymentCurrencyAmount, PaymentDetailsInit, PaymentMethodData } from '@brandingbrand/react-native-payments'; import type { ExternalTypes } from '../../typing'; import type { LegacyMixin } from '../LegacyMixin'; import type { ShopifyTokenizedPayment } from '../ShopifyResponseTypes'; export interface GooglePayShippingOptionsModalProps { test: boolean; datasource: InstanceType>; checkoutId: string; onSuccess: (order: ExternalTypes.Order) => void; ShopifySupportedMethods: PaymentMethodData[]; orderDetails: PaymentDetailsInit; payment: ShopifyTokenizedPayment; } export interface GooglePayShippingOptionsModalState { shippingHandle?: string; total: { amount: PaymentCurrencyAmount; }; } export default class GooglePayShippingOptionsModal extends Component { static getDerivedStateFromProps(nextProps: GooglePayShippingOptionsModalProps, prevState?: GooglePayShippingOptionsModalState): Partial | null; private readonly continue; private readonly updateHandle; componentDidMount(): void; render(): JSX.Element; }