import { ReactNode } from 'react'; export interface MicrofrontendErrorBoundaryProps { children: ReactNode; fallback?: ReactNode; loadingMessage?: string; } /** * MicrofrontendErrorBoundary wraps a lazy-loaded microfrontend with * both a React Error Boundary and a Suspense loading state. * * This ensures that if a microfrontend fails to load (chunk error) or * crashes at runtime, the rest of the application remains functional. * * The boundary is keyed by the active route's pathname so that when the * user clicks a sidenav link after an error, the boundary resets and * mounts the new route's children fresh — without this, the failed * fallback UI would persist and only a hard reload would recover. */ export declare function MicrofrontendErrorBoundary({ children, fallback, loadingMessage, }: MicrofrontendErrorBoundaryProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=MicrofrontendErrorBoundary.d.ts.map