import React from 'react'; type Props = React.PropsWithChildren<{ rethrowOnMatch?: string[]; }>; type State = { errorMessage?: string | null; }; declare class TestErrorBoundary extends React.Component { constructor(props: Props); static getDerivedStateFromError(error: Error): { errorMessage: string; }; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): React.JSX.Element; } export default TestErrorBoundary;