import type { SwappedInboundMessage } from '@funkit/connect-core'; /** Props shared by both Swapped embed hosts (deposit and withdrawal). */ export interface SwappedScreenBaseProps { /** The selected FOP's `embeddedFlowUrl` to load in the embed. */ url: string; /** Close the whole flow (embed asked to exit, e.g. its own ✕). */ onClose: () => void; /** Go back to the method list (embed's own back). */ onBack: () => void; } interface SwappedScreenShellProps { url: string; lockAmount?: boolean; onMessage: (msg: SwappedInboundMessage) => void; /** Android hardware back with no WebView history to pop (see SwappedWebView). */ onBack: () => void; } /** * Full-screen host frame for the Swapped embedded payment flow * ({@link SwappedWebView}). The embed ships its own top bar, so we render no * RN header. Mode-agnostic message handling (error and navigation logging) * lives here; * mode-specific dispatch lives in `SwappedScreen` (deposit) and * `SwappedWithdrawScreen` (withdrawal). */ export declare function SwappedScreenShell({ url, onMessage, onBack, lockAmount, }: SwappedScreenShellProps): import("react").JSX.Element; export {}; //# sourceMappingURL=SwappedScreenShell.d.ts.map