export declare const STRIPE_API_VERSION = "2022-11-15"; export declare const STRIPE_MAPPING_VERSION = "v1.0.0"; export declare const ZERO_AMOUNT = 0; export declare const DEFAULT_PROCESSING_RATE = 0.029; export declare const DEFAULT_PLATFORM_RATE = 0; export declare const DEFAULT_CROSS_BORDER_RATE = 0.01; export declare const DEFAULT_PRIORITY = 100; export declare const FIXED_FEES: { readonly CREDIT_CARD: 30; readonly BANK_TRANSFER: 500; readonly BOLETO_BANCARIO: 200; readonly SEPA_DIRECT_DEBIT: 50; readonly IDEAL_BANK: 50; }; export declare const NEXT_STEP_EXPECTED_UPDATE_IN: { readonly REDIRECT: 10; }; export declare const STRIPE_CONFIDENCE_HIGH = 1; export declare const STRIPE_PRIORITY_HIGH = 100; export declare const STRIPE_CONFIDENCE_MEDIUM = 0.9; export declare const STRIPE_PRIORITY_MEDIUM = 80; export declare const AMOUNT_DECIMALS = 2; export declare const AMOUNT_DIVISOR = 100; export declare const UNIX_TIMESTAMP_MULTIPLIER = 1000; export declare const TIMESTAMP_FALLBACK = 0; /** Actions a user should take next in the payment flow */ export declare const NEXT_STEP_USER_ACTION: { readonly REDIRECT: "redirect"; readonly WAIT: "wait"; readonly RETRY: "retry"; readonly CONTACT_SUPPORT: "contact_support"; }; /** Actions the system should take next in the payment flow */ export declare const NEXT_STEP_SYSTEM_ACTION: { readonly WEBHOOK_PENDING: "webhook_pending"; readonly MANUAL_REVIEW: "manual_review"; readonly AUTO_RETRY: "auto_retry"; }; /** Stripe provider event types for mapping */ export declare const STRIPE_EVENT_TYPE: { readonly CHARGE_REFUND_CREATED: "charge.refund.created"; readonly REFUND_UPDATED: "refund.updated"; readonly CHARGE_REFUND_SUCCEEDED: "charge.refund.succeeded"; readonly CHARGE_REFUND_FAILED: "charge.refund.failed"; readonly CHARGE_REFUND_CANCELED: "charge.refund.canceled"; readonly CHARGE_DISPUTE_CREATED: "charge.dispute.created"; readonly CHARGE_DISPUTE_UPDATED: "charge.dispute.updated"; readonly CHARGE_DISPUTE_CLOSED: "charge.dispute.closed"; readonly CHARGEBACK_RECEIVED: "chargeback.received"; readonly CHARGEBACK_RESPONDED: "chargeback.responded"; readonly CHARGE_DISPUTE_WON: "charge.dispute.won"; readonly CHARGE_DISPUTE_LOST: "charge.dispute.lost"; readonly PAYMENT_METHOD_ATTACHED: "payment_method.attached"; readonly PAYMENT_METHOD_UPDATED: "payment_method.updated"; readonly PAYMENT_METHOD_DETACHED: "payment_method.detached"; readonly PAYMENT_METHOD_EXPIRED: "payment_method.expired"; readonly SUBSCRIPTION_CREATED: "customer.subscription.created"; readonly SUBSCRIPTION_UPDATED: "customer.subscription.updated"; readonly SUBSCRIPTION_DELETED: "customer.subscription.deleted"; readonly SUBSCRIPTION_RENEWED: "customer.subscription.renewed"; readonly SUBSCRIPTION_FAILED: "customer.subscription.failed"; readonly SUBSCRIPTION_TRIAL_STARTED: "customer.subscription.trial_started"; readonly SUBSCRIPTION_TRIAL_ENDED: "customer.subscription.trial_ended"; readonly INVOICE_PAYMENT_SUCCEEDED: "invoice.payment_succeeded"; readonly INVOICE_PAYMENT_FAILED: "invoice.payment_failed"; readonly CHECKOUT_SESSION_COMPLETED: "checkout.session.completed"; readonly CHECKOUT_SESSION_EXPIRED: "checkout.session.expired"; readonly CHECKOUT_SESSION_CANCELED: "checkout.session.canceled"; readonly PRODUCT_CREATED: "product.created"; readonly PRODUCT_UPDATED: "product.updated"; readonly PRODUCT_DELETED: "product.deleted"; readonly PRICE_CREATED: "price.created"; readonly PRICE_UPDATED: "price.updated"; readonly PRICE_DELETED: "price.deleted"; readonly PROVIDER_WEBHOOK_RECEIVED: "provider.webhook.received"; readonly PROVIDER_WEBHOOK_PROCESSED: "provider.webhook.processed"; readonly PROVIDER_API_CALLED: "provider.api.called"; readonly PROVIDER_API_SUCCEEDED: "provider.api.succeeded"; readonly PROVIDER_API_FAILED: "provider.api.failed"; }; export declare const STRIPE_PAYMENT_INTENT_STATUS: { readonly SUCCEEDED: "succeeded"; readonly PROCESSING: "processing"; readonly REQUIRES_ACTION: "requires_action"; readonly REQUIRES_CONFIRMATION: "requires_confirmation"; readonly REQUIRES_PAYMENT_METHOD: "requires_payment_method"; readonly CANCELED: "canceled"; readonly FAILED: "failed"; readonly DECLINED: "declined"; readonly EXPIRED: "expired"; readonly AUTHORIZED: "authorized"; readonly CAPTURED: "captured"; readonly HELD: "held"; readonly REFUNDED: "refunded"; readonly PARTIALLY_REFUNDED: "partially_refunded"; readonly DISPUTED: "disputed"; readonly CHARGEBACK: "chargeback"; readonly CHARGEBACK_RESOLVED: "chargeback_resolved"; }; /** Default processing time estimate */ export declare const DEFAULT_PROCESSING_TIME: { minimumMinutes: number; maximumMinutes: number; typicalMinutes: number; factors: string[]; }; /** Default settlement time estimate */ export declare const DEFAULT_SETTLEMENT_TIME: { minimumDays: number; maximumDays: number; typicalDays: number; affectedByHolidays: boolean; }; export declare const STRIPE_DATA_PATHS: { TRANSACTION_ID: string; AMOUNT: string; CURRENCY: string; STATUS: string; PAYMENT_METHOD: string; METADATA: string; }; export declare const PAYMENT_OPERATION: { readonly INITIALIZE: "initialize"; readonly CREATE_PAYMENT: "createPayment"; readonly CAPTURE_PAYMENT: "capturePayment"; readonly CANCEL_PAYMENT: "cancelPayment"; readonly PROCESS_REFUND: "processRefund"; readonly GET_REFUND_STATUS: "getRefundStatus"; readonly GET_PAYMENT_STATUS: "getPaymentStatus"; readonly PROCESS_WEBHOOK: "processWebhook"; readonly VERIFY_WEBHOOK_SIGNATURE: "verifyWebhookSignature"; readonly CALCULATE_FEES: "calculateFees"; readonly GET_FEE_STRUCTURE: "getFeeStructure"; readonly GET_TRANSACTION: "getTransaction"; readonly WEBHOOK_PROCESS: "webhookProcess"; }; export declare const STRIPE_MESSAGES: { readonly MISSING_API_KEY: "Missing Stripe API key"; readonly UNKNOWN_EVENT: "unknown"; readonly MISSING_EVENT: "missing"; readonly INIT_FAILED: "Stripe SDK initialization failed"; readonly CREATE_PAYMENT_FAILED: "Failed to create payment intent"; readonly CAPTURE_PAYMENT_FAILED: "Failed to capture payment"; readonly CANCEL_PAYMENT_FAILED: "Failed to cancel payment"; readonly REFUND_FAILED: "Failed to process refund"; readonly REFUND_STATUS_FAILED: "Failed to retrieve refund status"; readonly GET_PAYMENT_STATUS_FAILED: "Failed to retrieve payment status"; readonly PROCESS_WEBHOOK_FAILED: "Failed to process webhook"; readonly VERIFY_WEBHOOK_FAILED: "Failed to verify webhook signature"; readonly CALCULATE_FEES_FAILED: "Failed to calculate fees"; readonly GET_FEE_STRUCTURE_FAILED: "Failed to get fee structure"; readonly GET_TRANSACTION_FAILED: "Failed to retrieve transaction details"; }; //# sourceMappingURL=constant.d.ts.map