import { RenderDebuggerError } from './error-types.js'; export interface ErrorRecoveryStrategy { shouldRetry(error: RenderDebuggerError): boolean; maxRetries: number; backoffMs: number; onRetry?(attempt: number, error: RenderDebuggerError): void; } export declare const CDP_RECOVERY: ErrorRecoveryStrategy; export declare const PATCH_RECOVERY: ErrorRecoveryStrategy; export declare const TRACE_RECOVERY: ErrorRecoveryStrategy; export declare function withRetry(operation: () => Promise, strategy: ErrorRecoveryStrategy): Promise; export declare function getExitCode(error: unknown): number; export declare function formatError(error: unknown): string;