import { Component, ErrorInfo, ReactNode } from 'react';
interface MFIsolationAppErrorBoundaryProps {
    moduleId: string;
    children: ReactNode;
}
interface MFIsolationAppErrorBoundaryState {
    error?: Error;
    hasError: boolean;
}
/**
 * Contain runtime crashes inside one MF isolation tree and show a safe fallback.
 */
export declare class MFIsolationAppErrorBoundary extends Component<MFIsolationAppErrorBoundaryProps, MFIsolationAppErrorBoundaryState> {
    state: MFIsolationAppErrorBoundaryState;
    /**
     * Switch the isolation shell into its fallback state after a runtime render failure.
     */
    static getDerivedStateFromError(error: Error): MFIsolationAppErrorBoundaryState;
    /**
     * Forward the caught isolation runtime error to the registered app-owned handler, if any.
     */
    componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
    /**
     * Render the wrapped isolation tree or a safe fallback after a caught crash.
     */
    render(): ReactNode;
}
export {};
//# sourceMappingURL=MFIsolationAppErrorBoundary.d.ts.map