import { FC } from 'react'; import { Core, WebViewLoadOptions } from '@dynamic-labs/client'; export type WebViewProps = { /** * @deprecated No-op, accepted only for backwards compatibility. Webview * load recovery is owned by the shared webview load controller (bounded * retries with backoff) and is always on — it can no longer be disabled. */ disableRecovery?: boolean; /** * @deprecated Configure `webviewLoad.sdkReadyTimeoutMs` on * `ReactNativeExtension` instead. Still honored; an explicit value here * overrides the extension setting. */ recoveryTimeout?: number; /** * @deprecated Configure `webviewLoad.pageLoadTimeoutMs` on * `ReactNativeExtension` instead. Still honored; an explicit value here * overrides the extension setting. */ loadingTimeout?: number; }; type WebViewInternalProps = WebViewProps & { webviewUrl: string; core: Core; webviewDebuggingEnabled?: boolean; /** * Customer-tunable budgets of the webview load engine, as configured on * `ReactNativeExtension`. Forwarded to `createWebViewLoadController`; * the deprecated `loadingTimeout` / `recoveryTimeout` JSX props override * the two timeout fields when set explicitly. */ webviewLoad?: WebViewLoadOptions; }; export declare const WebView: FC; export declare const createWebView: (internalProps: WebViewInternalProps) => FC; export {};