import { PureComponent, ReactElement } from 'react';
export interface ErrorBoundaryProps {
    children?: ReactElement;
}
export interface ErrorBoundaryState {
    hasError: boolean;
}
/**
 * Error boundary wrapper which connects the IMA application to the
 * dev HMR api and handles error reporting.
 */
export declare class ErrorBoundary extends PureComponent<ErrorBoundaryProps, ErrorBoundaryState> {
    constructor(props: ErrorBoundaryProps);
    static getDerivedStateFromError(): {
        hasError: boolean;
    };
    componentDidMount(): void;
    componentDidCatch(error: Error): void;
    render(): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null | undefined;
}
//# sourceMappingURL=ErrorBoundary.d.ts.map