import React, { ReactElement } from 'react'; type IErrorBoundryState = { hasError: boolean; error: Error | null; }; type IErrorBoundryProps = { pathname?: boolean; children: ReactElement; fallbackComponent: (props: { error: Error; }) => ReactElement; }; export declare class ErrorBoundaryCommon extends React.Component { constructor(props: IErrorBoundryProps); static getDerivedStateFromError(error: Error): { hasError: boolean; error: Error; }; componentDidCatch(error: Error): void; componentDidUpdate(prevProps: Readonly, prevState: Readonly): void; render(): React.JSX.Element; } export {}; //# sourceMappingURL=ErrorBoundaryCommon.d.ts.map