import { Component, FC, SyntheticEvent } from 'react'; export type ErrorTypes = 'error' | 'accessDenied' | 'notFound' | 'noData' | 'failedDependency' | 'throttle'; export type ErrorMessageProps = { hasError?: boolean; errorType?: ErrorTypes; message?: any; resourceName?: string; title?: string; children?: any; icon?: any; action?: string; onTakeAction?: (event?: SyntheticEvent) => void; }; export declare const ErrorMessage: FC; declare class ErrorMessageBoundry extends Component { state: { didCatch: boolean; }; render(): JSX.Element; componentDidCatch(): void; } export default ErrorMessageBoundry;