import { Component, type ErrorInfo, type ReactNode } from "react"; type Props = { children: ReactNode; resetKeys: readonly unknown[]; onError?: (error: Error) => void; }; type State = { error: Error | null; }; /** Contains renderer failures so an invalid host callback cannot blank the page. */ export declare class AgendaErrorBoundary extends Component { state: State; static getDerivedStateFromError(error: Error): State; componentDidCatch(error: Error, _info: ErrorInfo): void; componentDidUpdate(previousProps: Props): void; render(): ReactNode; } export {};