import { ErrorBoundaryOptions, ComponentError } from '../types/index.js';
export declare function createErrorBoundary(React: any, options?: ErrorBoundaryOptions): any;
export declare function withErrorBoundary(React: any, Component: any, options?: ErrorBoundaryOptions): any;
export declare function formatComponentError(error: Error, componentName: string, phase: ComponentError['phase']): ComponentError;
export declare function createErrorLogger(componentName: string): (error: Error, errorInfo: any) => void;
//# sourceMappingURL=error-boundary.d.ts.map