export declare enum CaptureStrategy { automatic = "automatic", manual = "manual" } export declare enum PaymentMethodTypes { card = "card", bankAccount = "bank_account" } export declare enum PaymentStatuses { pending = "pending", authorized = "authorized", succeeded = "succeeded", failed = "failed", disputed = "disputed", fully_refunded = "fully_refunded", partially_refunded = "partially_refunded" } export declare enum PaymentDisputedStatuses { lost = "lost", open = "open" } export interface IPaymentMethod { card?: ICard; } export declare type CardBrand = 'american_express' | 'diners_club' | 'discover' | 'jcb' | 'mastercard' | 'china_unionpay' | 'visa' | 'unknown'; export interface ICard { id: string; acct_last_four: string; name: string; brand: CardBrand; token: string; created_at: string; updated_at: string; } export interface IDispute { amount_cents: number; created_at: string; currency: string; gateway_ref_id: string; id: string; payment_id: string; reason: null; status: string; updated_at: string; } export interface IPayment { id: string; account_id: string; amount: number; amount_disputed: number; amount_refundable: number; amount_refunded: number; balance: number; captured: boolean; capture_strategy: CaptureStrategy; currency: 'usd'; description: string; disputed: boolean; disputes: IDispute[]; error_code: string | null; error_description: string | null; fee_amount: number; is_test: boolean; metadata: Object | null; payment_method: IPaymentMethod; payment_intent_id: string | null; refunded: boolean; status: PaymentStatuses; created_at: string; updated_at: string; } export declare class Payment implements IPayment { id: string; account_id: string; amount: number; amount_disputed: number; amount_refundable: number; amount_refunded: number; balance: number; captured: boolean; capture_strategy: CaptureStrategy; currency: 'usd'; description: string; disputed: boolean; disputes: IDispute[]; error_code: string | null; error_description: string | null; fee_amount: number; is_test: boolean; metadata: Object | null; payment_method: IPaymentMethod; payment_intent_id: string | null; refunded: boolean; status: PaymentStatuses; created_at: string; updated_at: string; constructor(payment: IPayment); get disputedStatus(): PaymentDisputedStatuses | null; }