import { Component, Dispatch, ErrorInfo, ReactElement } from "react"; import { IAppContextActions } from "../../context/reducer"; import { IRequestParams } from "../../utils/helpers"; interface IProps { activeTab: string; appDispatch: Dispatch; currentUrl: string; onLoadEnd: () => void; onLoadStart: () => void; requestParams: IRequestParams; } interface IState { hasError: false; } declare class WebView extends Component { private constructor(); shouldComponentUpdate(nextProps: Readonly): boolean; private static getDerivedStateFromError; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; private onError; render(): ReactElement; } export default WebView;