import { WebViewFailedToLoadErrorPhase } from '../../WebViewFailedToLoadError'; import { WebViewLoadErrorClassification } from '../../classifyWebViewLoadError'; import { WebViewLoadConfig, WebViewLoadNativeErrorMeta, WebViewLoadState, WebViewLoadTransitionResult } from '../../webViewLoadTypes'; export type FailureInput = { /** The phase the attempt was in when it failed, for failure records. */ failurePhase: WebViewFailedToLoadErrorPhase; /** Native error diagnostics, when the failure came from `native_error`. */ extraMeta: WebViewLoadNativeErrorMeta; /** * Whether a reload may succeed (`transient`) or is pointless * (`permanent`). Permanent failures skip the remaining retry budget. */ classification: WebViewLoadErrorClassification; }; export declare const handleFailureInput: (state: WebViewLoadState, config: WebViewLoadConfig, { classification, extraMeta, failurePhase }: FailureInput) => WebViewLoadTransitionResult;