import type { JSX } from 'react'; /** A single captured runtime error, dev-only. */ export interface DevError { error: Error; componentStack?: string; id: number; } /** * Records a dev-only runtime error for `` to display. Fed * by three capture paths: `ErrorBoundary.componentDidCatch` (render * errors), `window.onerror` (uncaught exceptions), and * `unhandledrejection` (promises rejected with no `.catch`). No-op in * production builds. */ export declare function reportDevError(error: Error, componentStack?: string): void; /** * Dev-only full-screen overlay that surfaces uncaught runtime errors — * render errors (via `ErrorBoundary.componentDidCatch`), uncaught * exceptions (`window.onerror`), and unhandled promise rejections. * Dismiss with Esc, or reload the app; renders `null` and does nothing in * production builds. */ export declare function DevErrorOverlay(): JSX.Element | null; //# sourceMappingURL=error-overlay.d.ts.map