import { Component, ElementType, ReactNode } from 'react';
type ErrorProps = {
    FallbackComponent: ElementType;
    children: ReactNode;
};
type State = {
    hasError: boolean;
};
export declare class ErrorBoundary extends Component<ErrorProps, State> {
    static getDerivedStateFromError(): {
        hasError: boolean;
    };
    state: {
        hasError: boolean;
    };
    render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
}
export {};
//# sourceMappingURL=ErrorBoundary.d.ts.map