import { Exception } from '@srclaunch/exceptions';
import { Component } from 'react';
declare type ComponentProps = Record<string, unknown>;
declare type ComponentState = {
    readonly exception?: Exception;
    readonly hasError: boolean;
};
export declare class ErrorBoundary extends Component<ComponentProps, ComponentState> {
    private constructor();
    static getDerivedStateFromError(error: Error): {
        readonly exception: Exception;
        readonly hasError: boolean;
    };
    render(): React.ReactNode;
}
export {};
//# sourceMappingURL=error-boundary.d.ts.map