/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { type ReactNode } from 'react'; import type { Props } from '@docusaurus/ErrorBoundary'; type State = { error: Error | null; }; export default class ErrorBoundary extends React.Component { constructor(props: Props); componentDidCatch(error: Error): void; render(): ReactNode; } export {};