import React from "react"; interface Props { onError: (error: Error, errorInfo: React.ErrorInfo) => void; children: JSX.Element | Array; } interface GridErrorState { hasError: boolean; error?: Error; } /** * React error boundary for . */ export declare class GridErrorBoundary extends React.Component { constructor(props: Props); static getDerivedStateFromError(error: Error): GridErrorState; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): JSX.Element | Array; } export {}; //# sourceMappingURL=GridErrorBoundary.d.ts.map