import * as React from 'react'; export declare const ErrorMessage: () => React.JSX.Element; /** * Provides error boundaries for safety (one component errors won't crash the whole app) */ export declare class ErrorBoundary extends React.Component { state: { hasError: boolean; }; static getDerivedStateFromError(): { hasError: boolean; }; render(): React.ReactNode; }