import { Component, type PropsWithChildren, type ReactNode } from 'react'; type ErrorBoundaryProps = PropsWithChildren<{ fallback: ReactNode; onError?: (error: unknown) => void; }>; export default class ErrorBoundary extends Component { constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(error: unknown): { hasError: boolean; }; render(): ReactNode; } export {}; //# sourceMappingURL=error-boundary.d.ts.map