import { Component, type ReactNode } from "react";
interface RootErrorBoundaryState {
    hasError: boolean;
    error: Error | null;
}
/**
 * Root error boundary component
 *
 * Wraps the entire segment tree to catch any unhandled errors that bubble up.
 * This prevents the entire app from crashing with a white screen.
 *
 * This is a client component with an inline fallback to avoid the
 * "Functions cannot be passed to Client Components" RSC error.
 */
export declare class RootErrorBoundary extends Component<{
    children: ReactNode;
}, RootErrorBoundaryState> {
    constructor(props: {
        children: ReactNode;
    });
    static getDerivedStateFromError(error: Error): RootErrorBoundaryState;
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
    componentDidUpdate(prevProps: {
        children: ReactNode;
    }): void;
    handlePopState: () => void;
    reset: () => void;
    render(): ReactNode;
}
export {};
//# sourceMappingURL=root-error-boundary.d.ts.map