import { type ViewStyle } from 'react-native'; import { BoltBridgeDispatcher } from './BoltBridgeDispatcher'; /** * Bolt iframe element names supported in React Native. * The storm embedded SDK has additional elements (authorization, login-status, * payment-selector, etc.) that are out of scope for the initial release. */ export type BoltElementName = 'credit-card-input' | '3d-secure' | 'add-card-from-apple-wallet'; export interface BoltPaymentWebViewProps { element: BoltElementName; dispatcher: BoltBridgeDispatcher; style?: ViewStyle; onHeightChange?: (height: number) => void; } export interface BoltPaymentWebViewHandle { dispatcher: BoltBridgeDispatcher; reload: () => void; } /** * Shared WebView wrapper used by CreditCard and 3DS components. * Loads a Bolt iframe element with the injected bridge JS. */ export declare const BoltPaymentWebView: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=BoltPaymentWebView.d.ts.map