import { default as React, Component, ErrorInfo } from 'react'; import { ArchbaseErrorBoundaryProps } from './types'; type ArchbaseErrorBoundaryState = { didCatch: true; error: any; } | { didCatch: false; error: null; }; export declare class ArchbaseErrorBoundary extends Component { constructor(props: ArchbaseErrorBoundaryProps); static getDerivedStateFromError(error: Error): { didCatch: boolean; error: Error; }; resetErrorBoundary(...args: any[]): void; componentDidCatch(error: Error, info: ErrorInfo): void; componentDidUpdate(prevProps: ArchbaseErrorBoundaryProps, prevState: ArchbaseErrorBoundaryState): void; render(): React.FunctionComponentElement>; } export {};