type OneTimePurchaseOfferDetails = { priceCurrencyCode: string; formattedPrice: string; priceAmountMicros: string; }; type SubscriptionOfferDetail = { basePlanId: string; offerId: string; offerToken: string; offerTags: string[]; pricingPhases: PricingPhases; }; type PricingPhases = { pricingPhaseList: PricingPhase[]; }; type PricingPhase = { formattedPrice: string; priceCurrencyCode: string; billingPeriod: string; billingCycleCount: number; priceAmountMicros: string; recurrenceMode: number; }; export type ProductAndroid = { productId: string; title: string; description: string; productType: string; name: string; oneTimePurchaseOfferDetails?: OneTimePurchaseOfferDetails; subscriptionOfferDetails?: SubscriptionOfferDetail[]; }; type PricingPhaseAndroid = { formattedPrice: string; priceCurrencyCode: string; billingPeriod: string; billingCycleCount: number; priceAmountMicros: string; recurrenceMode: number; }; type SubscriptionOfferAndroid = { basePlanId: string; offerId: string | null; offerToken: string; pricingPhases: { pricingPhaseList: PricingPhaseAndroid[]; }; offerTags: string[]; }; export type SubscriptionProductAndroid = ProductAndroid & { name: string; title: string; description: string; productId: string; subscriptionOfferDetails: SubscriptionOfferAndroid[]; }; export type RequestPurchaseAndroidProps = { skus: string[]; obfuscatedAccountIdAndroid?: string; obfuscatedProfileIdAndroid?: string; isOfferPersonalized?: boolean; }; declare enum ReplacementModesAndroid { UNKNOWN_REPLACEMENT_MODE = 0, WITH_TIME_PRORATION = 1, CHARGE_PRORATED_PRICE = 2, WITHOUT_PRORATION = 3, CHARGE_FULL_PRICE = 5, DEFERRED = 6 } type SubscriptionOffer = { sku: string; offerToken: string; }; export type RequestSubscriptionAndroidProps = RequestPurchaseAndroidProps & { purchaseTokenAndroid?: string; replacementModeAndroid?: ReplacementModesAndroid; subscriptionOffers: SubscriptionOffer[]; }; export type ReceiptAndroid = { autoRenewing: boolean; betaProduct: boolean; cancelDate: number | null; cancelReason: string; deferredDate: number | null; deferredSku: number | null; freeTrialEndDate: number; gracePeriodEndDate: number; parentProductId: string; productId: string; productType: string; purchaseDate: number; quantity: number; receiptId: string; renewalDate: number; term: string; termSku: string; testTransaction: boolean; }; export declare enum FeatureTypeAndroid { /** Show in-app messages. Included in documentation by the annotations: */ IN_APP_MESSAGING = "IN_APP_MESSAGING", /** Launch a price change confirmation flow. */ PRICE_CHANGE_CONFIRMATION = "PRICE_CHANGE_CONFIRMATION", /** Play billing library support for querying and purchasing with ProductDetails. */ PRODUCT_DETAILS = "PRODUCT_DETAILS", /** Purchase/query for subscriptions. */ SUBSCRIPTIONS = "SUBSCRIPTIONS", /** Subscriptions update/replace. */ SUBSCRIPTIONS_UPDATE = "SUBSCRIPTIONS_UPDATE" } export {}; //# sourceMappingURL=ExpoIapAndroid.types.d.ts.map