import type { HyperswitchConfiguration, PaymentSessionConfiguration } from '../types/definitions'; import type { PaymentResult } from '../types/paymentresult'; import type { PaymentSheetConfiguration } from '../types/PaymentSheetConfiguration'; import type { CustomerSavedPaymentMethodsSession, SavedPaymentMethodsConfiguration } from '../types/savedPaymentMethods'; import type { WalletSessionHandle } from '../types/walletSession'; /** Options captured by every session-style factory (PaymentSession + Elements). */ type SessionBindings = { hyperswitchConfig: HyperswitchConfiguration; paymentSessionConfig: PaymentSessionConfiguration; }; /** * Shared `presentPaymentSheet` implementation used by both * `PaymentSession` and `Elements` so sheet-presentation behavior cannot * drift between the two surfaces. */ export declare function bindPresentPaymentSheet(bindings: SessionBindings): (configuration?: PaymentSheetConfiguration) => Promise; /** * Shared `getCustomerSavedPaymentMethods` implementation used by both * `PaymentSession` and `Elements`. */ export declare function bindGetCustomerSavedPaymentMethods(bindings: SessionBindings): (configuration?: SavedPaymentMethodsConfiguration) => Promise; export declare function bindGetWalletSession(bindings: SessionBindings): () => Promise; export {}; //# sourceMappingURL=binders.d.ts.map