/** * The shape the tap needs from MoonPay's `WebViewTransport`. Declared * structurally so the wrap can be exercised against a fake, without loading * the SDK's react-native-webview dependency under vitest. */ export interface TraceableTransport { url?: string; handleWebViewMessage(data: string): void; sendMessage(message: unknown): void; } /** * Wrap a transport prototype's two message paths. Exported for the test; the * SDK's own prototype is wrapped by {@link installMoonPayTrace}. */ export declare function traceTransportPrototype(proto: TraceableTransport): void; /** * Installed at import time, which is before the debug tag resolves — so the * wrappers check {@link tracingEnabled} per message instead of gating install. * Guarded because this runs at module scope on the deposit path: a MoonPay * release that drops the export must not take the flow down with it. */ export declare function installMoonPayTrace(): void; /** The script emits into a void unless the wrap above is listening. */ export declare function moonPayTraceInjection(): string | undefined; //# sourceMappingURL=moonpayTrace.d.ts.map