/** * Payment processor configuration for TagadaPay SDK * These are public API keys - safe to embed in client-side code */ export interface PaymentConfig { basisTheory: { publicApiKey: string; environment: 'sandbox' | 'production'; }; } /** * Payment configurations for different environments */ export declare const PAYMENT_CONFIGS: Record; /** * Get payment configuration based on environment */ export declare function getPaymentConfig(environment?: string): PaymentConfig; /** * Determine if the current hostname should use production BasisTheory. * * BT key selection is based ONLY on hostname — never on tagadaClientEnv overrides. * tagadaClientEnv controls which API server the SDK talks to, but BasisTheory * tokens must always match the backend's BT tenant. * * Production BT: *.tagada.io, *.tagadapay.com, custom domains (e.g. checkout.myboost.club) * Test BT: *.tagada.dev, *.tagadapay.dev, localhost, vercel.app, etc. */ export declare function isProductionBasisTheory(): boolean; /** * Get BasisTheory API key based on hostname detection. * Not affected by tagadaClientEnv overrides. */ export declare function getBasisTheoryApiKey(): string; /** * Get BasisTheory tenant ID based on hostname detection. * Not affected by tagadaClientEnv overrides. */ export declare function getBasisTheoryTenantId(): string;