import { Component } from 'react';
import { MessageProps } from 'datastellar-chatui';
export default class ErrorBoundary extends Component<{
    children: any;
    hasError?: boolean;
    data?: MessageProps;
    t: any;
}, {
    hasError: boolean;
}> {
    constructor(props: any);
    static getDerivedStateFromError(error: any): {
        hasError: boolean;
    };
    componentDidCatch(error: any, errorInfo: any): void;
    render(): any;
}
