import React from "react"; import * as react_jsx_runtime161 from "react/jsx-runtime"; //#region ui/organisms/ErrorBoundary/ErrorBoundary.d.ts interface ErrorBoundaryState { hasError: boolean; error: Error | null; errorId: string | null; } interface ErrorBoundaryProps { children: React.ReactNode; fallback?: React.ComponentType; onError?: (error: Error, errorInfo: React.ErrorInfo) => void; } interface ErrorFallbackProps { error: Error; errorId: string | null; resetError: () => void; } declare class ErrorBoundary extends React.Component { constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(error: Error): Partial; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; resetError: () => void; render(): string | number | bigint | boolean | react_jsx_runtime161.JSX.Element | Iterable | Promise> | Iterable | null | undefined> | null | undefined; } declare const useErrorHandler: () => (error: Error) => never; //#endregion export { ErrorBoundary, type ErrorBoundaryProps, type ErrorFallbackProps, useErrorHandler }; //# sourceMappingURL=ErrorBoundary.d.ts.map