import { Component, type ErrorInfo, type ReactNode } from "react";
export type ThreeSceneErrorBoundaryProps = {
    readonly children: ReactNode;
    readonly fallback: ReactNode;
    readonly onError?: (error: Error, errorInfo: ErrorInfo) => void;
};
type ThreeSceneErrorBoundaryState = {
    readonly hasError: boolean;
};
export declare class ThreeSceneErrorBoundary extends Component<ThreeSceneErrorBoundaryProps, ThreeSceneErrorBoundaryState> {
    state: ThreeSceneErrorBoundaryState;
    static getDerivedStateFromError(): ThreeSceneErrorBoundaryState;
    componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
    render(): ReactNode;
}
export {};
//# sourceMappingURL=ThreeSceneErrorBoundary.d.ts.map