export interface ErrorDetails {
    message: string;
    code?: string;
    context?: Record<string, unknown>;
    stack?: string;
    timestamp: string;
}
export declare function createErrorDetails(error: unknown, context?: Record<string, unknown>): ErrorDetails;
export declare function formatErrorForLogging(error: unknown, context?: Record<string, unknown>): string;
export declare function isRetryableError(error: unknown): boolean;
export declare function withRetry<T>(operation: () => Promise<T>, maxRetries?: number, delayMs?: number): Promise<T>;
//# sourceMappingURL=errorUtils.d.ts.map