import React from 'react'; export interface ErrorBoundaryProps { children?: NonNullable; } export interface ErrorBoundaryState { error?: Error; } export default class ErrorBoundary extends React.Component { state: ErrorBoundaryState; componentDidCatch(error: Error): void; render(): string | number | boolean | {} | (string & {}) | (number & {}) | React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | React.ReactNodeArray | React.ReactPortal | (string & React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | (string & React.ReactNodeArray) | (string & React.ReactPortal) | (number & React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | (number & React.ReactNodeArray) | (number & React.ReactPortal) | (false & {}) | (false & React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | (false & React.ReactNodeArray) | (false & React.ReactPortal) | (true & {}) | (true & React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | (true & React.ReactNodeArray) | (true & React.ReactPortal) | ({} & string) | ({} & number) | ({} & false) | ({} & true) | (React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> & string) | (React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> & number) | (React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> & false) | (React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> & true) | (React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> & React.ReactNodeArray) | (React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> & React.ReactPortal) | (React.ReactNodeArray & string) | (React.ReactNodeArray & number) | (React.ReactNodeArray & false) | (React.ReactNodeArray & true) | (React.ReactNodeArray & React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | (React.ReactNodeArray & React.ReactPortal) | (React.ReactPortal & string) | (React.ReactPortal & number) | (React.ReactPortal & false) | (React.ReactPortal & true) | (React.ReactPortal & React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) | (React.ReactPortal & React.ReactNodeArray) | undefined; } //# sourceMappingURL=ErrorBoundary.d.ts.map