import type { AmountDetails, Charge, OfflineDetails, PaymentMethod, PaymentMethodType, PaymentMethodOptions, NextAction, ApiErrorInformation } from './'; export declare namespace PaymentIntent { interface Type { id?: string; amount: number; amountCapturable?: number; amountDetails?: AmountDetails; amountReceived?: number; amountRequested?: number; amountTip?: number; application?: string; applicationFeeAmount?: number; canceledAt?: string; cancellationReason?: string; captureMethod?: string; latestCharge?: Charge; latestChargeId?: string; clientSecret?: string; confirmationMethod?: string; created: string; currency?: string; customer?: string; description?: string; livemode: boolean; metadata?: Record; nextAction?: NextAction; offlineDetails?: OfflineDetails; onBehalfOf?: string; paymentMethod?: PaymentMethod.Type; paymentMethodId?: string; paymentMethodOptions?: PaymentMethodOptions; paymentMethodTypes?: PaymentMethodType[]; receiptEmail?: string; review?: string; lastPaymentError?: ApiErrorInformation; sdkUuid: string; setupFutureUsage?: string; statementDescriptor?: string; statementDescriptorSuffix?: string; status?: Status; transferGroup?: string; } type Status = 'canceled' | 'processing' | 'requiresAction' | 'requiresCapture' | 'requiresConfirmation' | 'requiresPaymentMethod' | 'requiresReauthorization' | 'succeeded' | 'unknown'; }