import React from 'react';
import type { Props, State } from './types';
declare class ErrorBoundary extends React.Component<Props, State> {
    constructor(props: Props);
    static ID: string;
    static getDerivedStateFromError(err: Error): {
        err: Error;
    };
    componentDidCatch(): void;
    render(): React.ReactNode;
}
export default ErrorBoundary;
export type { Props };
