import { Component } from "react"; import type { EventTrackerFunction } from "../types"; import { Fallback } from "./Fallback"; interface Props { Fallback?: typeof Fallback; eventTracker?: EventTrackerFunction; eventTitle?: string; } export declare class ErrorBoundary extends Component { constructor(props: Props); static getDerivedStateFromError(e: Error): { fallback: boolean; error: Error; }; render(): JSX.Element; } export {};