import * as React from "react"; import { BugsnagClient } from "./bugsnag_client"; export declare const formatComponentStack: (str: string) => string; interface Props { bugsnagClient: BugsnagClient; FallbackComponent?: React.ElementType; } interface State { error: Error | null; } export declare class ErrorBoundary extends React.Component { constructor(props: Props); static getDerivedStateFromError(error: Error): { error: Error; }; componentDidCatch(error: Error, info: { componentStack?: string; }): void; render(): {} | null | undefined; } export {}; //# sourceMappingURL=bugsnag_react.d.ts.map