import { TitleComponent } from 'ra-core'; import { ComponentType, ErrorInfo, HtmlHTMLAttributes } from 'react'; import { FallbackProps } from 'react-error-boundary'; type ErrorBoundaryProps = InternalErrorProps & { errorComponent?: ComponentType; title?: TitleComponent; resetErrorBoundary?: null | (() => void); }; declare function Error(props: ErrorBoundaryProps): import("react/jsx-runtime").JSX.Element; interface InternalErrorProps extends Omit, 'title'>, FallbackProps, ErrorProps { className?: string; } interface ErrorProps extends Pick { errorInfo?: ErrorInfo; title?: TitleComponent; } export { Error }; export type { ErrorBoundaryProps, ErrorProps, InternalErrorProps }; //# sourceMappingURL=Error.d.ts.map